miracle2k / django-assets

Django webassets integration.
BSD 2-Clause "Simplified" License
89 stars 79 forks source link

Manifest cache #20

Closed michaelmior closed 9 years ago

michaelmior commented 11 years ago

Curious to hear thoughts on using Django's caching framework for manifests. Looks like it would be pretty straightforward. Just need to implement DjangoCache as a subclass of webassets.cache.BaseCache.

One question is how to configure it. We could just have ASSETS_CACHE be set to the DjangoCache class, which should work as it would be passed through to webassets. Configuring this way feels a bit clunky though.