Michael Merickel
2016-01-03 95ae37b850c3af47474a8c860a06ba7086aa617d
add a note about serving cache busted assets
1 files modified
8 ■■■■■ changed files
docs/narr/assets.rst 8 ●●●●● patch | view | raw | blame | history
docs/narr/assets.rst
@@ -532,6 +532,14 @@
       'mypackage:static/',
       ManifestCacheBuster('myapp:static/manifest.json'))
It's important to note that the cache buster only handles generating
cache-busted URLs for static assets. It does **NOT** provide any solutions for
serving those assets. For example, if you generated a URL for
``css/main-678b7c80.css`` then that URL needs to be valid either by
configuring ``add_static_view`` properly to point to the location of the files
or some other mechanism such as the files existing on your CDN or rewriting
the incoming URL to remove the cache bust tokens.
.. index::
   single: static assets view