I saw connected styles on the site with the name site_global.css@crc=91730608, the same story with js files. What are these extra characters for?
- oneTo invalidate the cache. PS There are no extensions on the Internet. Only http-addresses - Alexey Ten
1 answer
Thus, you tell the browser that you need to re-download the file.
For example, a user visits your site for the first time. The browser sees this path site_global.css@crc= 91730608 . Puts a file in the browser cache. Having visited the site a second time later, this CSS file will be taken from the browser cache. This is very good for you, since there will be no http request and file download wait, but what if you added new rules to CSS? In this case, you need to change the path to the file and this can be done using another http request, for example site_global.css@crc= 91730610 . Physically, this will be the same site_global.css
, but the http request will already be new and the browser will decide to download the new file.