[TYPO3-german] Wie wende ich 'addPageCacheTags' richtig an?

JCL - Johannes C. Laxander jc at laxander.com
Fri Oct 31 16:32:54 CET 2014


Hi Philipp,

danke für deine Antwort. Ok, da hab' ich im Übereifer nicht richtig nachgedacht :(

Wenn ich es richtig verstehe, dann brauchts den key nicht unbedingt, wenn ich dafür tags angebe. Ist das richtig gedacht??

Ich hab 'key' mal weggelassen und nur 'tags' angegeben. Im Seiten TSConfig lösche ich so:

TCEMAIN.clearCacheCmd = cacheTag:txmyext

Aber auch das tut nicht. cf_cache-Tabellen habe ich geleert. Irgendwie denke ich wohl im Kreis!??

Johannes.




> 
> Hi JCL,
> 
> JCL - Johannes C. Laxander wrote:
> 
> > plugin.tx_myext {
> > stdWrap.cache {
> > key = txmyext_{page:uid}_{TSFE:sys_language_uid}
> > key.insertData = 1
> > tags = txmyext
> > lifetime = unlimited
> > }
> > stdWrap.addPageCacheTags = txmyext
> > }
> 
> Dann musst du auch die tags txmyext_{page:uid}_{TSFE:sys_language_uid}
> löschen lassen, sonst wird ja bei generieren der Seite die 
> gecachte Version des Plugins genommen.
> 
> Da hilft es auch nicht, wenn du den Page Cache löschst, weil 
> das Plugin ja trotzdem im Content Cache gespeichert bleibt.
> 
> Grüße
> --
> Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln 
> Documentation – Active contributor TYPO3 CMS
> TYPO3 .... inspiring people to share!
> 
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
> 



More information about the TYPO3-german mailing list