[Typo3-dev] Clear Cache

Kasper Skårhøj kasper2005 at typo3.com
Mon Apr 4 12:02:26 CEST 2005


> I will look into the documentation and see if I can find the correct way to 
> handle this. It's surely worth spending some time on ;)
> I have one other question though. In this current scenario, I've made a 
> "mod" script. But for another extension I have a regular backend list of 
> records in a sysfolder and editing records is the "normal" way, using the 
> TYPO3 core. I made a TS-Config adjustment to the sysfolder holding the 
> records, which clears the cache for the pages showing the records. Now I am 
> curious to know how I can use the reg1 to make sure, that only the pages 
> showing the updated record is being flushed from the cache?


You can't ... yet. (by TSconfig)

- kasper


> 
> > However: I need to create an API by which you can flush the page cache
> > with a function call rather than homemade SQL. This is not fully ready
> > yet (except from what Bernhard has pointed out).
> >
> 
> I think this is a very good idea, as the cache engine might change in 
> structure, and that would make my and several other extensions become not 
> working.

The API is important for a few reasons:
- A cache management application might not want that the cache table is
actually flushed (for performance reasons) and therefore it must be
possible from a central point to intervene.
- A publishing engine (making static files out of pages) might wish to
know if a page is being flushed because it has to also delete those
static files associated with the cached version.

- kasper




> 
> Regards,
> 
> 
> Lars Houmark 
> 
> 
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
-- 
- kasper

*******************
Happy new year! - My email address is now: 

		kasper2005 at typo3.com 







More information about the TYPO3-dev mailing list