Commit 77153842 by Timothée Peignier

Merge pull request #186 from necaris/master

Adds documentation for cache-busting URL support with staticfiles
parents 38dea9c2 7d6c336f
......@@ -44,6 +44,15 @@ Then when you run ``collectstatic`` command, your CSS and your javascripts will
$ python manage.py collectstatic
Cache-busting
-------------
Pipeline 1.2+ no longer provides its own cache-busting URL support (using e.g. the ``PIPELINE_VERSIONING`` setting) but uses
Django's built-in staticfiles support for this. To set up cache-busting in conjunction with ``collectstatic`` as above, use ::
STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
This will handle cache-busting just as ``staticfiles``'s built-in ``CachedStaticFilesStorage`` does.
Middleware
==========
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment