Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

John Locke
John Locke
15,479 Points

W3 Total Cache Plugin

Hi there:

Does anyone know of a good way to get the W3 Total Cache plugin to flush the home page? I have a home.php file, and am serving a static page as the Home Page. I tried flushing all caches, changing Expires Headers on the HTML files, disabling page caching...all of these produced no luck.

WP Super Cache causes problems on this server for some reason, so that's why I'm using W3TotalCache. This is on a VPS.

The homepage is the only page suffering from this.

Any thoughts from the forum or Zac Gordon ?

2 Answers

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Not off hand, but its at times like these that I've found other things on servers caching pages as well. When you edit the home page copy doors that clear the cache?

John Locke
John Locke
15,479 Points

From what I've read, that should work, but no luck when I edit the home page copy.

Matt Campbell
Matt Campbell
9,767 Points

I have a similar problem and so far, 100% of the time, clearing browser cache sorts it out.

John Locke
John Locke
15,479 Points

Hi Matthew. I had this issue before, only on the homepage. Definitely not the browser cache. Same problem occurs with all different browsers, even with cache cleared.

Google Structure Checking Tool also shows the old version of the HTML.

I might try deleting the plugin and PHP files, and see if that does the trick.

John Locke
John Locke
15,479 Points

That solved it. There was a GZIP file of the homepage along with the cache. As soon as I deleted that, the changes showed up. I was trying to get Rich Snippets to show, that was the only page not responding.