Automatically Delete Cache




Wordpress LScache Plugin: Automatically Delete Cache


Hi, I need delete cache automatically every one week, let me know how can I do it? thank you Ramesh. This topic was modified 6 months, 3 weeks ago by Jan Dembowski. The entire cache or only the cache generated by cache plugin? Hi I need to delete automatically (once a week) cache generated by cache plugin. thank you. 1. Create a blank PHP file and copy code below in this file. 2. Place this file in root directory of your WP installation. 3. Setup a cron with weekly interval header(X-LiteSpeed-Cache-Control: no-cache) $tag = __DIR__ . /wp-content/plugins/litespeed-cache/ $tag = substr(md5($tag), -3) . _ header( X-LiteSpeed-Purge: . $tag)
Do you need help?
We are online almost any time and ready to answer any question. The answer to your question will come faster than it takes you to release the mouse button.

Ask A Question