[TYPO3-performance] (no subject)

Björn Pedersen pedersen at frm2.tum.de
Thu Sep 6 10:04:47 CEST 2012


Am 06.09.2012 09:26, schrieb Wigid Triyadi:
> Hi Phillipp, thank you for  replying
> I have read the link, but still not clear for some point.
> is there any relational keys between  cf_cache_hash and  cf_cache_pages?
>  what kind of data that stored on cf_cache_hash?
> 
> My main purpose is creating code to delete pages cache manually.
> For static content I can delete the cache using this query:
> "delete FROM `cachingframework_cache_pages` where `content` like [PAGE_ID];"
> 
> and from my analysis, i can delete TT_news data by this query
> "delete FROM `cachingframework_cache_pages` where `content` like
> "%tt_news[tt_news]";s:4:"[TT_NEWS_ID]"
> 
> but I dont have any clue regarding the entity on cf_cache_hash table, what
> kind of data and how its related.
> 

Hi,

don't do it this way. Use the cachingframework api to manipulate the
cache. In your case, you probably want to use the tags feature
(flushByTag).

Take a look at e.g.:
http://typo3.org/extensions/repository/view/ods_update_page
http://typo3.org/extensions/repository/view/clearcacheextend
http://typo3.org/extensions/repository/view/intelli_cache

how to handle the cache.

Björn



More information about the TYPO3-performance mailing list