Answer the question
In order to leave comments, you need to log in
Why might caching of static resources on the browser side fail?
Caching of static files (css, js) does not work on the site, and none of the options for setting the appropriate headers using htaccess leads to anything. An example of code that is advised everywhere and which should work ironically:
<ifModule mod_headers.c>
<FilesMatch "\.(js|css|ico|gif|jpg|jpeg|png)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
</IfModule>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question