January 16, 2016

Cache busting URLs with Flask and Nginx

In this post, I'll show you how to effectively override Flask's url_for function in order to add a timestamp to static asset URLs, as well as setting up Nginx to serve cache busted URLs.

Tags: Flask, Nginx, Python

lutro.me

Andreas Lutro
  • About me
  • GitHub
  • Twitter
  • StackOverflow
  • LinkedIn
  • RSS feed

Tags

Audio Code design Communication Company culture Deployment Django Docker Flask Git Laravel Linux Make mIRC Mockery Nginx Packaging PHP pip Pulseaudio Puppet Python Salt Sass Vagrant

2012 - 2021 © Andreas Lutro