Ask Dave Taylor
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube
  • Home
  • YouTube Videos
  • Top Categories
  • Subscribe via Email
  • Ask A Question
  • Meet Dave
  • Home
  • Wordpress Help
  • How Do I “Clear the Cache” on my WordPress Blog Pages?

How Do I “Clear the Cache” on my WordPress Blog Pages?

March 16, 2022 / Dave Taylor / Wordpress Help / No Comments

I work with an advertising network and have been having some problems with ad fulfillment. Today their admin said I needed to be “clearing the cache” after each change was made. How do I clear the cache on my WordPress blog?

The best place to start this answer is with a definition of what a cache is. To do that you need to realize that while it may seem that the Web is all about your browser being sent pages and images directly from another Web server, it really is far more complicated than that. The underlying protocol is a mix of send-me/here-is and send-me/can’t-find, but since the Web is global, it turns out to be quite inefficient for every request in Cape Town, South Africa for your Web page to be sent all the way through the wires to your server in Seattle, Washington, just to have your computer send back the same page or image it’s been serving up for hours, days, even weeks.

The result is a cache. A cache is a copy of content that’s stored somewhere on the path between requestor and server so that if there’s a match, it can be sent without the rest of the round-trip being necessary. So Cape Town, South Africa’s network might connect with Cairo, Egypt, then to Rome, Italy, London, England, across the Atlantic to New York, USA, then across the country to Seattle. If Cairo has a local copy of your pages and images, that’s going to be much, much faster than having the requests bounce through all those intermediate hops.

Of course, you need to ensure that if your site changes, the intermediate caching servers (known collectively as a Content Delivery Network) update their saved copies to reflect the update. That can often be problematic so it’s common for sites to be hours out of date when things change. The variable in question is known as “time to live” (TTL) and it’s one of the settings in WordPress: A common setting is one hour for things that change a lot – like the site home page – and 24 hours for content that’s a bit more dusty, like your About page.

With me so far? Because now it turns out that WordPress itself has a cache too, because otherwise, every single request would result in all the underlying code that powers your blog being invoked, which is, you guessed it, inefficient. So WordPress generally has cached versions of pages so that if one person asks for it, they get the created page from the database, but the second person gets the saved version. All good and smartly efficient if your pages don’t change.

If you update the contents of a page or post on your WordPress blog, however, you now have a challenge: Your site might still be serving up the version of the page that was current 15 minutes ago, and that might then be also stuck in the content delivery networks and their global caching system. Sometimes you just need some patience because it all does get resolved over a few hours in almost all cases.

Except when you’re making changes and asking someone to check them. They get the older version, you don’t understand it, and you both get frustrated. Hence the request to “clear your cache”.

And here’s the rub; you can only clear the cache of a page if you’re the admin of the site, and it’s different on each host because they configure their sites differently. For example, on my IntuitiveStories.com blog, when I’m viewing a page and am also logged in to the WordPress backend, I see a handy toolbar along the top of the page:

wordpress toolbar along top of content page -

Nothing there that says “Cache” or “Clear Cache”, right? But the site is hosted at SiteDistrict, and it turns out that clicking on that reveals a menu that includes the needed option:

wordpress toolbar along top of content page - clear server cache

Your hosting company should have something quite similar. if you don’t see it, check with your hosting administrator to find out how you can clear the cache. Would it be convenient if it were consistent? Yes. But…

Pro Tip: I’ve been running and writing about WordPress for many years. Please check out my extensive WordPress help area here on the site for more tutorials and guides while you’re visiting!

About the Author: Dave Taylor has been involved with the online world since the early days of the Internet. Author of over 20 technical books, he runs the popular AskDaveTaylor.com tech help site. You can also find his gadget reviews on YouTube and chat with him on Twitter as @DaveTaylor.

Let’s Stay In Touch!

Never miss a single article, review or tutorial here on AskDaveTaylor, sign up for my fun weekly newsletter!
Name: 
Your email address:*
Please enter all required fields
Correct invalid entries
No spam, ever. Promise. Powered by FeedBlitz
Please choose a color:
Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!
clear cache, clear wordpress cache, server cache, wordpress page cache

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Recent Posts

  • How Can I Have an iPhone Light Flash on Phone Calls?
  • Guide to Setting Up Gmail for Offline Use (Just In Case)
  • Can I Fill Out & Sign PDFs on my Chromebook?
  • How Can I Get Pinch to Zoom Working on my MacBook Air?
  • How to Save Phone Battery Life with Adaptive Connectivity?

On Our YouTube Channel

Motorola Edge 2022 Android Smartphone -- DEMO & REVIEW

1More Sonoflow Hi-Res Audio Headphones -- DEMO & REVIEW

Categories

  • AdSense, AdWords, and PPC Help (106)
  • Amazon, eBay, and Online Shopping Help (164)
  • Android Help (230)
  • Apple iPad Help (150)
  • Apple Watch Help (53)
  • Articles, Tutorials, and Reviews (346)
  • Auto Tech Help (17)
  • Business Advice (200)
  • ChromeOS Help (35)
  • Computer & Internet Basics (783)
  • d) None of the Above (166)
  • Facebook Help (384)
  • Google, Chrome & Gmail Help (189)
  • HTML & Web Page Design (247)
  • Instagram Help (49)
  • iPhone & iOS Help (628)
  • iPod & MP3 Player Help (173)
  • Kindle & Nook Help (99)
  • LinkedIn Help (88)
  • Linux Help (174)
  • Linux Shell Script Programming (90)
  • Mac & MacOS Help (916)
  • Most Popular (16)
  • Outlook & Office 365 Help (34)
  • PayPal Help (68)
  • Pinterest Help (54)
  • Reddit Help (19)
  • SEO & Marketing (82)
  • Spam, Scams & Security (97)
  • Trade Show News & Updates (23)
  • Twitter Help (222)
  • Video Game Tips (66)
  • Web Site Traffic Tips (62)
  • Windows PC Help (953)
  • Wordpress Help (206)
  • Writing and Publishing (72)
  • YouTube Help (47)
  • YouTube Video Reviews (159)
  • Zoom, Skype & Video Chat Help (62)

Archives

Social Connections:

Ask Dave Taylor


Follow Me on Pinterest
Follow me on Twitter
Follow me on LinkedIn
Follow me on Instagram


AskDaveTaylor on Facebook



microsoft insider mvp


This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to our terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. Our lawyer says "Thanks for your cooperation."
© 2023 by Dave Taylor. "Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.
Privacy Policy - Terms and Conditions - Accessibility Policy