[TYPO3-dev] Caching extension output without the cHash parameter
John de Stigter
John.de.Stigter at bedrijvenweb.nl
Mon Aug 27 11:36:04 CEST 2007
Hi,
I get that. So what I would actually have to do is:
- Exclude extension vars that don't belong there.
- Verify values as much as possible
Gr.
John
> -----Oorspronkelijk bericht-----
> Van: typo3-dev-bounces at lists.netfielders.de
> [mailto:typo3-dev-bounces at lists.netfielders.de] Namens Elmar Hinz
> Verzonden: maandag 27 augustus 2007 11:25
> Aan: typo3-dev at lists.netfielders.de
> Onderwerp: Re: [TYPO3-dev] Caching extension output without
> the cHash parameter
>
> John de Stigter wrote:
>
> > Hi there,
> >
> > I am working on an extension with GET vars like tt_news
> that I want to
> > be cached by TYPO3. I've read the article about the cHash parameter
> > and this all works great, but I don't like the cHash value
> in my url's.
> >
> > To make this possible I have added some code to the function
> > "makeCacheHash()" in the class "tslib_fe". What I do is I
> check if any
> > $_GET variables are set that belong to my extension. If so, than I
> > unset the $GET variable that is passed over and fill it up
> again with
> > only the page id and the variables that belong to my
> extension. After
> > this I calculate the cHash of my rebuilt $GET and set
> $this->cHash to
> > that value.
> >
>
> Hi,
>
> assume you cache single views. You have 5000 of them. The
> uids are between 1 and 5000.
>
> Now the bad boy sends the same URL 100.000.000 times,
> starting with the uid 5001. Then incrementing. What happens?
>
> Regards
>
> Elmar
>
>
>
>
>
>
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>
More information about the TYPO3-dev
mailing list