Clear Zend Page cache programmatically

2.7k views Asked by At

I am using Zend's full page caching for certain URL's. Is there a way to clear the page cache for a certain URL programmatically....(when the content of the URL is modified)

1

There are 1 answers

1
Lordalcol On

On the method that does the update of the data shown at a certain URL, you have to call a cleanup method. For example, if you have in cache the URL "/dog", saved with that id ("/log"), when the data of this page change you have to execute:

$cache->remove('/dog');

And I loved this: http://devzone.zend.com/article/4457