O
O
Oleg2019-03-15 11:48:27
htaccess
Oleg, 2019-03-15 11:48:27

How to reset the htaccess cache that was saved before the site was updated?

Hello everyone,
I made a significant update to the site styles and js, now those who have saved the cache before the update, the site does not display quite correctly
Is it possible to specify this kind of parameter in the htaccess settings, for example,
if the cache was saved to such and such a number, then update the cache upon re-entry,
if the cache was saved after a certain number, then we cache all the rules further.
Or what options are there with solving the cache problem after the update?
I will add that at the moment the lines responsible for the cache look like this

<FilesMatch ".(gif|jpg|png|ico|js|css)$">
  Header set Cache-Control "max-age=5184000"
</FilesMatch

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question