The teasers in the STK are pretty cool, but I think they would be cooler if 
there was a set of teasers and one of them displayed at random on the page. The 
downside that I see to this is that it would not play nicely with the page 
cache, so my next thought was to build an AjaxTeaserLoader that would basically 
be a container that would take a bunch of teasers (similar to how to the 
carousel or other teaser groupers take multiple teasers) and it would make an 
ajax call to get the content of the teaser when the page loads and then the 
server would return a random teaser down to it. 

I'm sure I'm not the first person who has thought of this. Has anyone done this 
yet? 

It doesn't seem like it would be that hard at all to do - and the benefit of 
loading the teasers via ajax is that you could keep the main page all cached 
and then just have the dynamic parts loaded. If you thought you would be 
showing the same teaser a lot of times, you could even make those pieces 
cacheable so the next time it was to display a certain teaser it would display 
it from the browser cache

Ryan
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to