angular.js - How to solve the cache problem caused by website upgrade after angular separates the front-end and back-end?
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-15 17:07:03
0
1
596

Every time the website is upgraded and updated, it will cause certain cache problems

I have used automated tools to add a hash suffix to every file that can be changed,

And the version suffix "?ver1.00" is also added to the end of each file link.

But the browser still caches the previous code

Is there any way to completely solve this problem of browser caching code?

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(1)
滿天的星座

Try this, add a request parameter, pay attention to the equal sign

?ver=1.0

This should be fine.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template