Cache Buster
v1.0danmemememe · 2019年5月29日 上架
Adds a filter hook for all CSS, JS links by replacing ?ver values with the last modified time using PHPs filemtype
- 正在使用
- 300+
- 评分
- 5.0 / 5
- 累计下载
- 1.3 万
- 最近更新
- 2019年6月12日
贡献者
“Have you emptied your cache?” If you’re a developer, you’ve probably asked your clients this question hundreds of times. It’s not easy to determine if your client has actually cleared his cache. Trying to troubleshoot this issue can eat up a lot of time, especially if you’re going back and forth via email.
Cached Buster a new free WordPress plugin that aims to solve this problem. When activated, it forces browsers to load the most recent file if the file has been modified.
To see it working, simply just enable the plugin and View Source of the current webpage that you’re in.
You’ll see a modified query string for most CSS, JS assets with ?ver=1557964076
A more detailed information can be read here: https://www.keycdn.com/support/what-is-cache-busting