A
A
Anton2016-07-18 12:06:56
MODX
Anton, 2016-07-18 12:06:56

Is it possible to programmatically clear the cache in MODX REVO?

There is a website with minishop2 installed. A PHP script run via CRON can change the prices of goods. At the same time, in the card on FRONTEND, the price of the goods does not always change. Changes after clicking in the Admin panel: Management - Refresh site.
I would like to know if it is possible to simulate actions in the Admin panel to clear the cache programmatically? Then it would be possible to add such a function to the php script launched by CRON and know that everything will be updated correctly.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2016-07-18
@Anton2022

line 65

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question