Opencart & Cron

Nace

New Member
#1
Data such as quantity and price are imported into the Opencart from the ERP.
As the product page is cached there is no change after the background update.
How can I purge lite speed cache from outside of Opencart (eg. Cron, link, ...)?
Thank you for your help.
 

serpent_driver

Well-Known Member
#2
Create an empty PHP file in document_root.

Code:
<?php
header('X-LiteSpeed-Cache-Control: public, no-cache');
header("X-LiteSpeed-Purge: *"); // This will purge complete cache
 
Top