[TYPO3-dev] config.linkVars cHash cache problem

Christian Ludwig cl at viazenetti.de
Mon Mar 11 12:20:39 CET 2013


Hi,

> config.linkVars means: "take that URL parameter and use it in every
link
> on the page with the value from the URL".

Here I agree with you but that is exactly the point that it does not use
the same parameter as on the current pages URL - it uses the parameter
that was cached.
My opinion is that it should keep the parameter (value) as long until it
is forced to another value by the User.

I see no use in config.linkVars when the page cache is active (maybe
someone can give me a use case), and it seems odd to me that there are
different outputs depending on cache being enabled or disabled.

> "L" is special. It does not have to use cHash because "L"
> is usually handled with conditions. Conditions create a separate
cached
> version of the page for each condition combination.

So it would be great if all linkVars would be handled by conditions in
order to make sites using linkVars cachable.

If there is a patch available, feel free to let me know and I will
assist in testing.

Christian





More information about the TYPO3-dev mailing list