variable_cache_control – Django view decorator to set max_age in runtime

If you use the `django.views.decorators.cache.cache_control` decorator, consider this one instead to change the `max_age` depending on the request.

Original Source

If you use the `django.views.decorators.cache.cache_control` decorator, consider this one instead to change the `max_age` depending on the request.

Original Source

Leave a comment