Clientside caching of clientlibs and images
Hello,
Example response of clientlibs.js:
HTTP/1.1 200 OK Date: Thu, 25 Sep 2014 09:25:05 GMT Server: Apache/2.4.6 (Ubuntu) X-Frame-Options: SAMEORIGIN Accept-Ranges: bytes Vary: Accept-Encoding Content-Encoding: gzip Cache-Control: max-age=604800, public Expires: Thu, 02 Oct 2014 09:25:05 GMT Keep-Alive: timeout=5, max=85 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: application/javascript
The response header of CSS files and other images look analogous.
I want the browser to use the already loaded and cached files.
The current setting is:
<FilesMatch "\.(css|js|gif|jpe?g|png|ico)$"> FileETag MTime Size <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 week" </IfModule> <IfModule mod_headers.c> Header append Cache-Control "public" </IfModule> </FilesMatch>
I also tried the newest version (4.1.8) of the dispatcher plugin (currently used 4.1.5), but no success.
Another user had a kind of similar question one year ago.
Do you have any suggestions? ETag should be enabled by default at Apache.
Kind regards,
Matthias