Remove Wordpress Cache Definitely

折月煮酒 提交于 2020-01-06 16:01:18

问题


I have a WordPress install without any cache plugin (I had W3 Cache and Wp Super Cache installed but now they were removed) and the site still be caching. When I enter I see old news and when I manually refresh the browser it updates.

Any idea? What is happening?


回答1:


Delete the cache folder in wp-content/cache/ and also the W3TC configuration files and folders in wp-content, such as w3-total-cache-config.php, db.php, advanced-cache.php and the w3tc folder.

Delete any cache directives in wp-config.php, such as

define('WP_CACHE', true); //Added by WP-Cache Manager

define( 'WPCACHEHOME', '/home/public_html/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager

Delete any caching and expires headers directives in the root .htaccess file, too, such as bracketed by ## START W3TC ##, etc.

And be sure you have cleared your own browser cache.




回答2:


The problem was caused by APC Cache. http://php.net/manual/es/book.apc.php

I disable it and now everything it's ok.



来源:https://stackoverflow.com/questions/29012512/remove-wordpress-cache-definitely

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!