[TYPO3-mvc] How to clear page cache when object property has changed
Henjo Hoeksma
me at henjohoeksma.nl
Wed Nov 9 12:53:47 CET 2011
Hi,
yes, extbase has a utility you can
use: Tx_Extbase_Utility_Cache::clearPageCache($pageIdsToClear);
But it is always good to question your workflow when needing this ;-)
Kind regards,
Henjo
Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.
On Wed, Nov 9, 2011 at 12:42, <g4-lisz at tonarchiv.ch> wrote:
> hi there,
>
> we use two actions "show" and "edit". the show action is cached.
> now when we edit a property of a domain object (e.g. "city"), this change
> of course should be reflected in the show action. i.e. the page cache has
> to be cleared. is there an easy way to achieve this without having to clear
> the whole pages cache?
>
> i'm think about calling some "clearPageCache($pid)" function in the
> editAction method - is there something similar?
>
> thanks,
> till
> ______________________________**_________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc@**lists.typo3.org<TYPO3-project-typo3v4mvc at lists.typo3.org>
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**
> project-typo3v4mvc<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc>
>
More information about the TYPO3-project-typo3v4mvc
mailing list