Cache Manager and Asset Listings

Hi


We have just upgraded to 3.10.2 and enabled the cache manager. We have an asset listing that randomly pulls 1 special deal advert (created using standard page assets) into a nested div whenever a user loads a page.



The problem is that the cache manager has cached the last advert and so they are now the same every time the page is loaded. I have gone onto the cache expiry page and excluded asset listings and nested content types from being cached but the problem persists. Does anyone have any ideas on how we can have the site cache everything but these randomly-generated adverts?



Thanks

Mike

The asset that the nested DIV is in will be cached. It will cache it's entire contents, including the random asset listing. So there is no workaround for this besides disabling caching on the asset type that has the nested DIV in it (which is probably a standard page, so that's not a good idea).


The general rule is that you cant nest content that must always be dynamic into content that should be treated statically.