[TYPO3-UG-Muenster] EXT development: How to set 'cache_clearAtMidnight'?

Martin Holtz typo3ng_2008 at martinholtz.de
Wed Sep 3 15:50:49 CEST 2008


Hi Martin,

> Ich frage dieses gerade in der englischen Gruppe. Vielleicht weiß es
> ja auch jemand in den eigenen Reihen?
ich war mir sicher, dort geantwortet zu haben.

Offenbar doch nicht:(

also: cacheexpire
ist eine Extension von mir, wenn alles gut läuft kommt die mit 4.3. ins
core.

Sie kümmert sich um den expire-date des Caches.

Ich hoffe in den nächsten Tagen bekomme ich es soweit, dass Du über eine
globale Variable ein expire-date des Caches aus deinem Plugin setzen kannst.

gruß,
martin

> 
> ---------los geht's--------->
> 
> I'm working on an extension that's supposed to insert a 'Citation Of
> The Day' on a page. It's mainly a frontend plugin.
> 
> Q: How can I make sure in my PHP code, that caching of pages
> containing this plugin ends at midnight?
> 
> I'd like to have the effect of
>    # page.config.no_cache = false
>    # page.config.cache_period = 86400
>    # page.config.cache_clearAtMidnight = true
> for the affected pages only.
> 
> Please, can somebody give me a hint or a pointer?
> 
> Thanks, and: Have a nice day!
> 
> Martin
> 



-- 
Martin Holtz
elemente websolutions GbR
Junkerstraße 24
www.elemente.ms

wiki.typo3.org/De:TSref


More information about the TYPO3-UG-Muenster mailing list