D
D
Darya Shvakh2020-06-23 05:31:39
Web development
Darya Shvakh, 2020-06-23 05:31:39

How to update the user's cache?

After editing the styles to "clear the cache" for the user, I change the name of the css file. For example, there was - style after editing style_2 and uploading it to the hosting.

There are three questions:

1) Is there an alternative without regular renaming after editing?

2) If new entities have been added to HTML, can the name of the css file be left unchanged? That is, the browser must apply for new styles for new objects.

3) And I understand correctly that with the 3rd edition (after - style_1 , style_2) you can return to the file name simply - style?

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