|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hello,
I have a serious problem with my cache on my Typo3 websites. Last monday I discovered that my database was about 90mo, after I cleard all caches it was about 20mo. I checked and quite all the pages are set with "cache = 5mn". I tried to set this on my main template : config.cache_period = 180 config.cache_clearAtMidnight = 1 And this on the TS of the root page : TCEMAIN.clearCacheCmd = all But it didn't seemed to work. Does anyone has an idea of how to prevent this or how to empty those cache automatically ? Thanks ! _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Sponsored Links |
|
#2
|
|||
|
|||
|
So I tried again just with the config.cache_clearAtMidnight = 1 on my
main template but with no effect. If anyone has a clue it's very welcome. Thanks Fred a écrit : > Hello, > I have a serious problem with my cache on my Typo3 websites. > Last monday I discovered that my database was about 90mo, after I > cleard all caches it was about 20mo. > I checked and quite all the pages are set with "cache = 5mn". > I tried to set this on my main template : > config.cache_period = 180 > config.cache_clearAtMidnight = 1 > And this on the TS of the root page : TCEMAIN.clearCacheCmd = all > But it didn't seemed to work. > > Does anyone has an idea of how to prevent this or how to empty those > cache automatically ? > > Thanks ! _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#3
|
|||
|
|||
|
Fred wrote:
> Hello, > I have a serious problem with my cache on my Typo3 websites. > Last monday I discovered that my database was about 90mo, after I cleard > all caches it was about 20mo. > I checked and quite all the pages are set with "cache = 5mn". > I tried to set this on my main template : > config.cache_period = 180 > config.cache_clearAtMidnight = 1 > And this on the TS of the root page : TCEMAIN.clearCacheCmd = all > But it didn't seemed to work. > > Does anyone has an idea of how to prevent this or how to empty those > cache automatically ? > Comparing the size of the content mgmt tables and the size of the rendered output (which is what goes in the cache) can be an apple-to-oranges comparison, depending on the content that is being rendered. But if the DB size is a concern, there is another option. In my case, for example, my hosting company has a limit of 100MB for MySQL databases -- seems arbitrary, I know. So to protect myself from exceeding the limit due to the cache, I have set the following in my localconfig.php: $TYPO3_CONF_VARS['FE']['pageCacheToExternalFiles'] = 'TRUE'; This way I make use of my 250GB web disk space allotment for the cache instead. ;-) YMMV Regards, Bill _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#4
|
|||
|
|||
|
Thanks a lot, I'll try this.
Bill Taroli a écrit : > Fred wrote: >> Hello, >> I have a serious problem with my cache on my Typo3 websites. >> Last monday I discovered that my database was about 90mo, after I >> cleard all caches it was about 20mo. >> I checked and quite all the pages are set with "cache = 5mn". >> I tried to set this on my main template : >> config.cache_period = 180 >> config.cache_clearAtMidnight = 1 >> And this on the TS of the root page : TCEMAIN.clearCacheCmd = all >> But it didn't seemed to work. >> >> Does anyone has an idea of how to prevent this or how to empty those >> cache automatically ? >> > > Comparing the size of the content mgmt tables and the size of the > rendered output (which is what goes in the cache) can be an > apple-to-oranges comparison, depending on the content that is being > rendered. But if the DB size is a concern, there is another option. In > my case, for example, my hosting company has a limit of 100MB for > MySQL databases -- seems arbitrary, I know. So to protect myself from > exceeding the limit due to the cache, I have set the following in my > localconfig.php: > > $TYPO3_CONF_VARS['FE']['pageCacheToExternalFiles'] = 'TRUE'; > > This way I make use of my 250GB web disk space allotment for the cache > instead. ;-) YMMV > > Regards, > > Bill _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-UG France] Elements d'une page cachés | Stephane Pachis | typo3-france@lists.netfielders.de | 0 | 03.09.2007 14:22 |
| [TYPO3-UG France] RE Elements d'une page cachés | auaubry@agefos-pme.com | typo3-france@lists.netfielders.de | 0 | 03.09.2007 14:21 |
| [TYPO3-german] typoscript ändern ohne die caches zu löschen? | Klaus Hinum | typo3-german@lists.netfielders.de | 5 | 06.03.2007 16:33 |