jezdez / django-staticfiles

[Unmaintained] A Django app that provides helpers for serving static files, used in Django and Pinax.

Home Page:http://django-staticfiles.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a way to rebuild staticfiles cache

cyberdelia opened this issue · comments

I want to use collectstatic with CachedStaticFilesStorage to build my staticfiles on my machine and upload the result on production servers, but I have no way to rebuild the cache once uploaded. This could be useful for heroku or other similar setup.

Maybe we should add an option, or another command to be able to rebuild the cache from what's inside STATIC_ROOT. Or you might have a better idea 😉