The JS files are not cached.
I use the following in .htaccess
Code: Select all
<ifModule mod_headers.c>
(...)
# CSS & JS - 1 week
<filesMatch "\.(css|js)$">
Header set Cache-Control "max-age=604800, public"
</filesMatch>
</ifModule>
For images too. Removed for clarity.
So does
Code: Select all
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType text/javascript "access plus 604800 seconds"
</ifModule>
But nope.
What am I missing?
How do I get Cache-Control working for JS files too?
Thank you, Wim