[Ask Flask] Why would I use url_for for a static script file in a flask app?

This page summarizes the projects mentioned and recommended in the original post on /r/flask

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • flask-static-digest

    Flask extension to help make your static files production ready by md5 tagging and gzipping them.

  • I wrote an extension https://github.com/nickjj/flask-static-digest which digests your files by md5 tagging them so you can cache bust them and an optional config option I added was to be able to set FLASK_STATIC_DIGEST_HOST_URL = "https://cdn.example.com" but it never occurred to me you could just set static_url_path to https://cdn.example.com to get the same effect without needing to do anything extra in the extension. Going to investigate this approach and patch flask-static-digest if it turns out that it works.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts