Not purged by scheduled posts




Wordpress LScache Plugin: Not purged by scheduled posts

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, Im using LSCache for a few days and its impressive! But Im facing a big problem for me. I have a news website, so we post (and schedule) a lot everyday, and I saw that when we schedule a post, when it goes alive, if you try to reach it through a direct link, its ok, but all other pages is not being purged, so its not in homepage, not in category page? How can I solve it? I need that every page has to be purged everytime that a post goes alive, even it comes through a scheduled one. Thanks! The page I need help with: http://f1mania.lance.com.br You can turn on debug log and see when you add a new post, which tags are purged. If you have Home page ticked in Auto Purge Rules For Publish/Update, home page should be purged automatically. Hi! I do have Home Page ticked in Auto Purge Rules For Publish/Update and it works when I add a post to be published immediately, but not when its a scheduled post. I just logged a debug of a scheduled post that went live 2 minutes ago and nothing about purge was logged, beside a manual purge that a I did minutes before. If you visit http://f1mania.lance.com.br/wp-cron.php it will trigger your cron task. Can you try it and see if the post comes correctly? I have wp-cron running in my UNIX frequently given our quantity of news. The post comes correctly as its frequently running by cronjobs, its not the problem? the problem is that is not shown in home page, category page, because those pages cache is not being purged. We just tried on our test environment. Pages is purged correctly by call wp-cron.php: 10/15/17 12:40:31.764 [192.168.0.197:62743 1 GHN] GET HTTP/1.1 /wp-cron.php 10/15/17 12:40:31.764 [192.168.0.197:62743 1 GHN] Query String: 10/15/17 12:40:31.764 [192.168.0.197:62743 1 GHN] Cookie _lscache_vary: admin_bar:1 logged-in:1 role:99 10/15/17 12:40:31.856 [192.168.0.197:62743 1 GHN] X Cache_control -> private ( logged in user ) 10/15/17 12:40:31.857 [192.168.0.197:62743 1 GHN] GUI init 10/15/17 12:40:44.606 [192.168.0.197:62743 1 GHN] --------purge_tags prev is: 141 10/15/17 12:40:44.616 [192.168.0.197:62743 1 GHN] X-LiteSpeed-Purge: public,0051_Po.149,0051_URL.d62a193226406583dd5a899de293105e,0051_W.recent-posts-2,0051_Po.141,0051_T.2,0051_A.1,0051_PT.post,0051_F,0051_H,0051_PGS,0051_PGSRP,0051_D.201710 10/15/17 12:40:44.617 [192.168.0.197:62743 1 GHN] X-LiteSpeed-Purge: public,0051_Po.149,0051_URL.d62a193226406583dd5a899de293105e,0051_W.recent-posts-2,0051_Po.141,0051_T.2,0051_A.1,0051_PT.post,0051_F,0051_H,0051_PGS,0051_PGSRP,0051_D.201710,0051_REST 10/15/17 12:40:44.617 [192.168.0.197:62743 1 GHN] X Cache_control -> stale 10/15/17 12:40:44.620 [192.168.0.197:62743 1 GHN] --------purge_tags prev is: 141 10/15/17 12:40:44.630 [192.168.0.197:62743 1 GHN] not cacheable before ctrl finalize 10/15/17 12:40:44.634 [192.168.0.197:62743 1 GHN] X-LiteSpeed-Cache-Control: no-cache 10/15/17 12:40:44.634 [192.168.0.197:62743 1 GHN] X-LiteSpeed-Purge: public,stale,0051_Po.149,0051_URL.d62a193226406583dd5a899de293105e,0051_W.recent-posts-2,0051_Po.141,0051_T.2,0051_A.1,0051_PT.post,0051_F,0051_H,0051_PGS,0051_PGSRP,0051_D.201710,0051_REST 10/15/17 12:40:44.634 [192.168.0.197:62743 1 GHN] Optimizer bypass: Not frontend HTML type 10/15/17 12:40:44.634 [192.168.0.197:62743 1 GHN] End response -------------------------------------------------------------------------------- Expand If it continually missed from purge, you may need to create a tix. Our support team can help to figure out why. Did you scheduled a post, then at the correct time it was published and shown in home page? Because here its published, accessible by direct link, but not shown anywhere. As I told its like its not being purged. When I post immediately everything is ok, post is published, home is purged, the problem just appears when is a scheduled post. I did create a ticket, but its told me that a copy would be sent to my e-mail, but it never came. Im really worried about it. I have WP Control plugin installed, which shows what actions is scheduled in my WP-Cron and theres nothing about purge when I schedule a post. Should LiteSpeed Cache creates an action in WP-Cron when I schedule a post? If yes, this could be the issue. No, lscwp will automatically purge without extra cron task when posted, no matter its from immediate or scheduled. Vberto fixed issue by removing define(DISABLE_WP_CRON, true) from wp-config.php



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference