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
  • 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 Travel Vagrant

2012 - 2025 © Andreas Lutro