The flow is the following.
- Clear cache, everything works ok.
- Do an operation that requires cleaning partially the cache and the jcarousel is breaking because the page doesn't include anymore jcarousel javascripts.

Comments

alinag’s picture

After searching a little bit the web I've found that this is a known problem. The caching is caching only the html, but it not adding the css.
My solution was to add jcarousel_add() to my template preprocess function.

sol roth’s picture

Did you add the entire function directly from the module? Can you give a little more detail on your fix? That would be awesome.

Equinger’s picture

I am using Views 3. I'm trying to figure out if most pagers take caching into account. I'm certainly not able to enable Views Content Cache on a Jcarousel based view. The display won't move past the first page. Paging basically works with infinite scroll and caching unless you have exposed filters.

Equinger’s picture

maybe this is only an issue w/ Views 3? Can someone speak to this?

quicksketch’s picture

Title: Problems when enabling cache » jCarousel is not compatible with Views render caching
Priority: Major » Normal

Yes this issue is very similar to #1296632: Compatibility with block caching. I suggest simply not using the render cache on jCarousels for the time being. This problem *should* be solvable in Drupal 7 with the new render API, but we have not yet implemented it in the jCarousel module.