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

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.