[TYPO3-english] [Polluriel potentiel] clear_cachecmd and cachingframork problem

jean-sebastien_gervais at ssss.gouv.qc.ca jean-sebastien_gervais at ssss.gouv.qc.ca
Tue Oct 9 17:07:55 CEST 2012


Hello again, 

Also, if you want to clear the cache on some page automagically , you can 
use the clearCacheCmd in page ts config. 

For example.  You have a folder page that only contains news article and 
some users only have access to that page so they can't change how the news 
are displayed in the front page and let's say an archive/list page. 
When news are added, you want them to be displayed on the front page and 
the archive page.  Normally, editiing a page, a content on the page, or a 
record would clear the cache on the current page.  To have other page 
cache clear, you set in the page ts config  (that is in the page 
properties, under the ressources tab, Typoscript configuration field ) 
this command : 
TCEMAIN.clearCacheCmd = 1,114 

Where 1 and 114 are page id's, like the front page and another archive 
page.

Hope this helps!
Jean-Sebastien Gervais

typo3-english-bounces at lists.typo3.org a écrit sur 2012-10-09 10:44:54 :

> De : "Rachel Foucard" <rfoucard at w-seils.com>
> A : typo3-english at lists.typo3.org
> Date : 2012-10-09 10:45
> Objet : [Polluriel potentiel]  [TYPO3-english]  clear_cachecmd and 
> cachingframork problem
> Envoyé par : typo3-english-bounces at lists.typo3.org
> 
> Hi,
> 
> after and 4.4 -> 4.5 upgrade and a new cachingframework setting in the 
> install tool, a wesite that use comments plugin has a strange problem :
> 
> When using the notification functionnality, sending a mail with a 
deleting 
> link, there is a clear->cachecmd of the page id of the comment to 
delete.
> Then, an error message appear now : #1203699034: A cache with identifier 

> "cache_pages" does not exist.
> but the configuration is good in the configuration board i have an array 
for 
> : 
$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['cache_pages'];
> 
> the comment is deleted, but the cache of the page is simply not cleared.
> 
> so I really don't understand the problem... an Idea ?
> 
> Rachel Foucard. 
> 
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list