Support » Plugin: W3 Total Cache » Deleted pages still cached

  • Resolved htrimas


    We had a page that was cached using disk extended. However, after the page was deleted, it is was served from the cache. Even after we purged ALL caches. Shouldn’t it have given a 404-not found status? How can I make sure it is deleted completely from cache? Do I have to remove it from wp-content/cache/page_enhanced?

    We did a 301-redirect in .htaccess, but that shouldn’t really be necessary?

    Thanks in advance

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • What are CHMOD privilegies and is there the right owner of the directory cache, and sub-directories?

    Are you using W3TC and some CDN like CloudFlare?

    What web server you use? Apache or Nginx, or some other?

    Have you setup the .htaccess or .conf (nginx) correctly for redirection and using the cached index.html files?

    When you purge page file cache, you should see _old suffix and index.html as new one generated.

    Maybe you have to visit your URL again, or the same page in other browser, so the server would be triggered to make the cache of it and later on serve new cached index.html to the further visitors to that URL.

    Plugin Support Marko Vasiljevic


    Hello @htrimas
    I am sorry about the issue you are having and I am happy to assist you with this.
    @fritex Thank you for your contribution.
    @htrimas Can you please share the URL of the page you are having issues with or confirm that this is the page:
    Have you tried to Manually delete that page from wp-content/cache/ folder?
    Also, can you please confirm if you maybe have multiple caching layers like mentioned CDN or server-side caching?

    Thanks for your replies. We are using W3TC, but no CDN. I did see that it placed the _old suffix on the index files after purging. However, I was then expecting it to give a 404 when I tried to access the page from a clean browser. That was before we added the 301 redirect in .htaccess. I see today that the page is gone completely from the page_enchanced folder, so how can I reproduce this behaviour when the page in question is gone, and THE URL is being redirected?

    I the correct way of completely removing a page from the cache to delete it from page_enhanced?

    I can confirm that the URL in question is

    Thanks again in advance!

    Plugin Support Marko Vasiljevic


    Hello @htrimas

    To confirm page is deleted and does not exist anymore?
    I can still see an visit that page from a clean browser or incognito. Bypassing the cache doesn’t help either the page is visible.
    Yes, you should completely delete that page from the cache folder.

    Hi again @vmarko , the page is re-directed to and does no longer exist the cache folder. Are you actually seeing that page, or the redirected page?

    Plugin Support Marko Vasiljevic


    Hello @htrimas

    Thanks for your reply. Yes, I am seeing the redirected page now.

    So, I’m still wondering why I didn’t get a 404 error after we purged the cache and it had the _old suffix added to it. We’re not using server side caching or CDN… Or have I misunderstood something? Will the page be served from the cache even after purging (with _old?) – or could it be that it was cached by Google? I’m just trying to understand exactly how this works.

    Thanks again.

    Plugin Support Marko Vasiljevic


    Hello @htrimas

    I’ve tried to replicate the issue myself. I’ve created a page and content. Waited to confirm that the page is cached. After that, I’ve deleted the page, purged all cache and reloaded that page in the browser. I got the 404 response. Also, that page has the _old suffix added and it’s not served from cache.
    There is a possibility that you’ve deleted the page without purging cache so the page stuck in the cache or a Browser cache.

    This is very strange. We should also have got 404 then. I know the browser cache was empty and the _old suffix applied. We never actually deleted it from the cache ourselves, but the day after we purged, it was gone from page_enhanced.

    When I do a google search for “”, I can see it’s still cached there.

    Thank you so much for your feedback. We’ll have to do some more testing ourselves to see if everything works as expected. We probably shouldn’t have redirected it so quickly, but our SEO manager got worried…

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.