Quick links
Caching is a great way to improve website performance and minimize the load.
An ideal cache displays the cached version until the content changes and flushes the cache when there is a change. Yet, there may be cases where the cached version is not the most up-to-date one (if there is a DB error on the site or the caching is only time-based..).
And, we may want Uptime Robot to load the non-cached version on each request to make sure that the uptime/downtime is decided accordingly.
Here is a tiny feature (a pro tip) that can help bypassing cache.
Cachebuster
Uptime Robot will auto-replace the string:
- *cachebuster*
in the querystring with a unique timestamp every time so that each requestย is unique.
As an example, if the website to be monitored is:
- https://mywebsitetomonitor.com
We can use the URL as:
- https://mywebsitetomonitor.com/?*cachebuster*
and the request will have a different querystring each time.
Hope this helps for a better uptime.
Update (2019-11-19): The feature can now be used for custom HTTP headers and POST values as well.
17 replies on “Cachebuster – A Pro Tip for Bypassing Cache”
Very useful. Thank you!
Happy to hear that, thank you for your feedback!
Sweet! Needed this feature. Added the string to all my tests.
Awesome! Thank you for your feedback ๐
Hi, nice tip. This is very helpful. Thanks!
Happy to help, Jachu! Thank you for your feedback ๐
Excellent. Love the name too.
Glad you like it! ๐ Thank you for your feedback.
Great! Let me add this to all my websites…
Happy to hear you like it ๐ Thank you for your feedback!
Can this feature only use pro (paid) users?
Hi Andreas, it should be working for everyone ๐
Great ๐
But will it also be working as ?
https://mywebsitetomonitor.com/index.php?somesetting=true&*cachebuster*
And can it be bulk-added to all monitors please? ๐
Sounds great. I am new to the service so, very basic question – it is called a Pro tip, is the feature available in the Free version? We are testing the features/ service in Free version now and would be good to know if Free supports the *cachebuster* feature or not.
Thank you.
Hi David! It should work for you too ๐ please let us know if there is anything we can help you with.
Thanks For Sharing Its Very Informative For Me
Helped to fix an issue here, thanks a lot.