There's an issue with using this module with sites that also use varnish caching. Varnish will cache the node with the reference to the cpn stylesheet with a query string. Then when the node is updated, the updated query string isn't getting updated in the varnish cache.

Comments

damienmckenna’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
kepford’s picture

I am seeing this issue as well on a Pantheon site.

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new3.09 KB

This is an updated version of a change kepford provided to me personally.

kepford’s picture

StatusFileSize
new2.99 KB
new1.11 KB

Did a little testing and cleaned up a few things.

damienmckenna’s picture

@kepford: How has the patch been working for you?

damienmckenna’s picture

Status: Needs review » Fixed

Committed.

  • DamienMcKenna committed fd5ae04 on 7.x-1.x authored by kepford
    Issue #2361575 by kepford, DamienMcKenna: Optionally load the CSS/JS as...
damienmckenna’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Fixed » Patch (to be ported)
Issue tags: +Needs backport to D6
damienmckenna’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Patch (to be ported) » Fixed
Issue tags: -Needs backport to D6

The D6 module of this is no longer supported, so I'm closing this issue.

damienmckenna’s picture

Status: Fixed » Closed (fixed)