[Typo3-dev] cHash doesn't respect session values

Michael Stucki michael at typo3.org
Tue Sep 20 07:43:42 CEST 2005


Hi Elmar,

> I have a typical situation. There is
> 
> a) a browselist of table entries with listbrowser and orderBy clickies
> 
> b) links to the detail views of the entries, which themself split into 3
>   views each
> 
> Dynamic solution: When the visitor has visited a details view and goes
> back to the browslist, it is nice to find it in the same state as before
> selecting the details view. I store "pointer" and "orderBy" into the
> session to reach this target. This only works if I set the browselist to
> no-cache.
> 
> Cached solution: The alternative way would be to keep "orderBy" and
> "pointer" in all links inside the datails view. Then I could work with
> the cHash feature. A lot of "offset views" in combination with different
> "orderBy selections" would result in many cached views for the list.
> 
> Which way do you think better for this typical combination of browselist
> and details view?

As soon as everything is cached, the latter solution will be faster but will
need more space - does this hurt?

Considering that the dynamic solution will increase your servers load, and
not to forget, because I want to have my whole site indexed, I'd definitely
go for the cached solution.

Regards, michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/




More information about the TYPO3-dev mailing list