TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 06.11.2007, 11:54
Fred
Gast
 
Beiträge: n/a
Standard [TYPO3] Problem with caches

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Sponsored Links
  #2  
Alt 07.11.2007, 10:13
Fred
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Problem with caches

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 11.11.2007, 21:59
Bill Taroli
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Problem with caches

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 14.11.2007, 14:38
Fred
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Problem with caches

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:24 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103