[Seaside] page caching

Colin Putney cputney at wiresong.ca
Thu Jul 19 00:16:13 UTC 2007


On Jul 18, 2007, at 2:14 PM, Giles Bowkett wrote:

> Hi all - what's the best strategy for caching frequently-requested
> pages in Seaside? Can you cache raw HTML on a component-by-component
> basis for performance?

I won't say it can't be done, but it's difficult. The problem is that  
there are no frequently-requested pages in Seaside. Any given url is  
served approximately once, with only backtracking or reloading in the  
browser causing a url to be revisited. Now obviously, many of the  
page-views that Seaside serves will have very similar HTML, but it'll  
never be identical, because the continuation id will be different in  
all the urls in the page.  Maybe there's an opportunity there to come  
up with a system for plugging in those slightly-different bits, but  
nobody has tried it yet, as far as I know.

Colin


More information about the Seaside mailing list