Can you please tell me how to configure browser cache for statics and media in Django
here's google help .. developers.google.com/speed/docs/insights/LeverageBrowserCaching
I set up caching of the file system by the djbook.ru/rel1.8/topics/cache.html#filesystem-caching manual
those. added to settings
CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': '/var/tmp/django_cache', } }
and
MIDDLEWARE_CLASSES = ( 'django.middleware.cache.UpdateCacheMiddleware', .... 'django.middleware.cache.FetchFromCacheMiddleware', )
When loading pages appeared Expires in the title.
But how to make it for files from static and media is not clear ..