flask-static-digest

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

Flask-static-digest Alternatives

Similar projects and alternatives to flask-static-digest

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better flask-static-digest alternative or higher similarity.

flask-static-digest discussion

Log in or Post with

flask-static-digest reviews and mentions

Posts with mentions or reviews of flask-static-digest. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-30.
  • [Ask Flask] Why would I use url_for for a static script file in a flask app?
    1 project | /r/flask | 16 Jul 2021
    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.
  • Why use url_for?
    1 project | /r/flask | 28 Jun 2021
    This isn't built into url_for but it is built in with static_url_for which comes from the https://github.com/nickjj/flask-static-digest extension. Other frameworks like Rails, Django, Phoenix, Laravel and others have this behavior too.
  • After deleting my css/js files... my Flask server still runs as normal????
    3 projects | /r/flask | 30 Mar 2021
    In another reply someone else mentioned using Flask-Static-Digest which I highly recommend using in production. It will add a unique identifier (an md5 hash) to all of your static files so you can cache them forever with a proper web server but if they change, they will get a new file name to bust the cache.
  • Outdated Flask extensions
    5 projects | /r/flask | 6 Feb 2021
    Flask-Static-Digest for md5 tagging / pre-gzipping assets and optionally configuring a CDN
  • Q: How to trigger a missing asset in Flask?
    1 project | /r/flask | 22 Jan 2021
    Among other things the https://github.com/nickjj/flask-static-digest extension used to throw 500s for missing assets in production mode because it would try to do a dictionary lookup on a key that didn't exist which threw a Python error.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic flask-static-digest repo stats
6
153
3.6
about 1 year ago

Sponsored
Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com