miracle2k / django-assets

Django webassets integration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Manifest cache

michaelmior opened this issue · comments

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.