After changing the css-file, the user's page will be updated if you press f5 or ctrl + f5 . But clients do not know about it. How to automatically use f5 for them?

2 answers 2

You can add a bit of arbitrary text at the end of the style link and change it every time the site is uploaded, the font link will look like this:

<link rel="stylesheet" type="text/css" href="//cdn.sstatic.net/Sites/ru/all.css?v=eeded9c30610">

An example from the html-code of the site ru.stackoverflow :)

    You can generate a folder with used scripts and styles, where the folder name will be a hash of modified files.

    For example: //domain.com/assets/135adef13/style.css