How do I stop my screensaver page from showing cached (stale) content?

How do I stop my screensaver page from showing cached (stale) content?

⌘K
  1. Home
  2. Live Screensaver Creator
  3. Frequently Asked Question...
  4. How do I stop my screensaver page from showing cached (stale) content?

How do I stop my screensaver page from showing cached (stale) content?

If your screensaver keeps displaying the same old content even though the source page has updated, your browser or a server in between is serving a cached copy.

To fix this, add %%CACHEBUSTER%% anywhere in your URL — usually as a query parameter at the end.

For example, change https://example.com/news to https://example.com/news?cb=%%CACHEBUSTER%%

Every time the screensaver loads the page, %%CACHEBUSTER%% is automatically replaced with a unique value, which makes the URL look new and forces a fresh fetch.

For example, the URL above might be loaded as:

  • First load: https://example.com/news?cb=1777490546485.82945795
  • Second load: https://example.com/news?cb=1777490576491.13408726
  • Third load: https://example.com/news?cb=1777490606498.94527103

You can place %%CACHEBUSTER%% on as many URLs as you like, and combine it with existing query parameters using &, for example https://example.com/api?key=ABC&cb=%%CACHEBUSTER%%

URLs without the placeholder are loaded normally, so you only need to add it where caching is a problem.

Was this article helpful to you? No Yes

How can we help?