Why does the modified JS CSS not take effect after publishing?

Problem scenario:
The locally modified JS CSS does not take effect after it is published to the test environment.

Solutions :
1. Clear the cache
2. F5+CTRL force the page to refresh
3. In the place where JS CSS is introduced, add ?version=201709270913 to add the version No. The
client will cache these css or js files, so every time the js or css file is upgraded, and the version number is changed, the client browser will re-download the new js or css file, which will refresh the cache.

Summary of the problem:
Modify After JS CSS, modify the version number as a development habit.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326768064&siteId=291194637