tags:

views:

24

answers:

2

I am using Drupals boost module to cache my very dyanmic website.

I also am using a views block to load in banner images from a content type and the view is set to randomly load an image.

However, because boost module is caching the pages as html, what ever random images is loaded when the page is cached is what I am stuck with.

Is there any to mix the boost html cache with random loading images? The effect i am trying to get is a random banner but still use boost module.

Maybe a non-views solution.

Thanks for any ideas and if there is not solution and this is just a trade off of lots of caching please let me know.

Thanks

+2  A: 

Since Boost turns your Drupal site into static pages, the only way I can think of would be to have Javascript/jQuery handle randomizing the image that gets loaded. Something along the lines of imBannerRotater's random mode or other similar Javascript scripts should work.

Matt V.
wow, I totally missed this. I am already using jquery all over site, so i just had my head in the sand! I think I can still do this with views too. Thanks for the idea,
theGoose
+1  A: 

You'll have to use AJAX to display the block (see discussion here).

Fabian
very helpful link!
theGoose