I might be missing something, but it doesn't seem that it caching the correct javascript includes and outputing the inline ones for modules like fivestar. On first load, it displays correctly, but once the cached version is being served it is not including the js files or inline scripts. Do you have any advice?

Comments

johsw’s picture

Any development on this one?

david strauss’s picture

Things like Javascript includes are called "side effects," and I don't cache those. The best bet is to apply the side-effects whenever you load the item through the Preempt cache. So, see what JS and CSS files need to be added, and make the drupal_add_css, etc. calls yourself. Drupal core would need to be patched for the Preempt cache to support JS and CSS side-effects.

david strauss’s picture

Status: Active » Postponed