📜 ⬆️ ⬇️

Fast reset CSS cache

The caching function is a convenient and reasonable thing, especially for projects with a huge load and tens of thousands of one-time users. And it's not so much about caching pages, but about the forced preservation of external CSS files and images.
The servers are good, but the developers are not sweet. Ctrl + F5 in the browser often does not solve the problem, and not a little-known way of adding a pseudo parameter of the form? V = 1.1 to the name of the external CSS file is not always perfect. In our case, for example, servers are not used at all for debugging and all changes are immediately tested in combat = [. It is clear what this is fraught for users, but for me it’s like hell altogether - to see the changes made to CSS, you have to change the value in the template each time? V = and there is no way to generate this number randomly, as I would have done if there were test servers ...
Are you still boiling too? Then we go to you!

')

Source: https://habr.com/ru/post/12963/


All Articles