Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Cache Buster

Skildring

“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

Omtalar

5. september 2022
Very useful for dev sites (or sites constantly updated). Thank you.
18. november 2019
I use this when I have a site in development so I’m not constantly asking clients to hold SHIFT+reload pages to see the latest. Also use it on internal sites with dynamic content where speed is less critical than content freshness. Works great!
Les alle 2 omtalar

Bidragsytarar og utviklarar

“Cache Buster” is open source software. The following people have contributed to this plugin.

Contributors