Hello,

I was wondering how this module works with Views module?
Will views pages be cached in the same way all nodes are cached?

Thank you!

Comments

fabsor’s picture

Status: Active » Needs review

Yes, if you use varnish all pages will be cached for anonymous users, just like the usual caching system works. When a node is created, updated or deleted, the varnish cache will be purged just as it works in core. This won't work if you use the expire module automaticly though, if you do that you should write some code that uses expire to tell it to expire that views page when an event occurs.

I know there is work going on in the expire module to try to support views directly. You could also use this module together with Cache Actions to invalidate the views page with rules.

misc’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)

As a part of a clean up of the issue queue for the varnish module I am closing tickets that had no activity for the last year, please feel free to re-open if needed.