LSCache for WordPress API issue




Wordpress LScache Plugin: LSCache for WordPress API issue

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, I am using this hook for purging a URL: do_action( litespeed_purge_url, https://www.flixwatch.co/movies/the-break-up/&#8217 ) On screen, I get: Success: Purge url /movies/the-break-up/ But when I check the X-LiteSpeed-Cache status, I am getting a hit. Date: Fri, 26 Feb 2021 04:24:41 GMT, Content-Type: text/html charset=utf-8, Transfer-Encoding: chunked, Connection: keep-alive, Set-Cookie: __cfduid=db6c4c8dbc038f12076f428a11f5b15a11614313480 expires=Sun, 28-Mar-21 04:24:40 GMT path=/ domain=.flixwatch.co HttpOnly SameSite=Lax Secure, Cache-Control: public, max-age=259200, Server-Timing: amp_sanitizer dur=69.7 ,amp_style_sanitizer dur=23.4 ,amp_tag_and_attribute_sanitizer dur=34.4 ,amp_optimizer dur=6.8 , X-LiteSpeed-Cache: hit, Vary: Accept-Encoding,User-Agent, Alt-Svc: h3-27=:443 ma=86400, h3-28=:443 ma=86400, h3-29=:443 ma=86400, X-Turbo-Charged-By: LiteSpeed, CF-Cache-Status: DYNAMIC, cf-request-id: 087e2dfadc000052e5f131b000000001, Expect-CT: max-age=604800, report-uri=https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct , Report-To: endpoints : url : https: / /a.nel.cloudflare.com /report?s=BppreMTRAqgw0XaMGpiWuY4yCg39WKq0VcX7n6RnfIEoRHxCaT9j8GedXtJ%2BTmqDVYDzhsRzOaRyxBJB2TN45ofPyP9qgajXgHEnWBSJAS2d, max_age :604800, group : cf-nel , NEL: max_age :604800, report_to : cf-nel , Server: cloudflare, CF-RAY: 6276e5d7c8d352e5-CCU, Content-Encoding: gzip This topic was modified 1 year, 9 months ago by FlixWatch Support. Hi, please try use partial path , e.g. do_action( litespeed_purge_url, /xxx/xxx/) tested on my site and works Best regards, Thanks.



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



Reference