The headers that are being set to stop caching are only being set when the callback is not a js call.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

onaz’s picture

Thanks, gordon! Did not test this yet but your patch looks fine. We have done this in Varnish vcl on our projects:

  // No varnish for Radioactivity module
  if (req.url ~ "radioactivity_node.php") {
    return (pass);
  }
Sutharsan’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Issue triage: Closing issue, the 6.x branch is no longer maintained.

If you believe this issue is closed in error, feel free to re-open.