Title: Zencache with Varnish?
Last modified: August 30, 2016

---

# Zencache with Varnish?

 *  Resolved [tictok](https://wordpress.org/support/users/tictok/)
 * (@tictok)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/zencache-with-varnish/)
 * Wondering if there’d be any point or speed again running ZenCache on a site that’s
   already behind Varnish?
 * I’ve been tweaking my clients sites for the past couple of day, optimising and
   making things a little zippier and it’s getting addictive trying to save a second
   or two of page load time.
 * I’m considering installing / trying Varnish on my VPSs, but wouldn’t that effectively
   do the same thing that ZenCache is already doing? (serving static HTML pages 
   instead of compiling PHP pages).
 * Should I only use one or the other or is there a case for using both?
 * Thanks
    Stef
 * [https://wordpress.org/plugins/zencache/](https://wordpress.org/plugins/zencache/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/zencache-with-varnish/#post-6436231)
 * [@tictok](https://wordpress.org/support/users/tictok/) ZenCache (and other WordPress
   caching plugins) work by caching the output of WordPress, thereby saving you 
   unnecessary WordPress database queries. Varnish has no awareness of WordPress–
   all it does is capture HTML from the web server and then cache that HTML for 
   future visitors. If you’re using WordPress, you should still be using a WordPress
   caching plugin. A WordPress page caching plugin like ZenCache is able to create
   an HTML cache and make sure that the cache stays up-to-date, so that if you do
   something like publish a new post, ZenCache can clear the necessary HTML cache
   files to keep your cache up-to-date.
 * We’re working on improving ZenCache integration with Varnish so that ZenCache
   can intelligently tell Varnish when it should purge it’s cache (e.g., when you
   publish or edit a post). Please follow [this](https://github.com/websharks/zencache/issues/342)
   GitHub issue. In the meantime, ZenCache can be configured to tell Varnish when
   to purge its cache by following [these instructions](https://github.com/websharks/zencache/issues/342#issuecomment-106873713).
 *  Thread Starter [tictok](https://wordpress.org/support/users/tictok/)
 * (@tictok)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/zencache-with-varnish/#post-6436268)
 * Only just seen your reply **raamdev**. Thanks very much.
    I had to put the Varnish
   thing on hold until I get around to updating my VPS to a 64bit OS.
 * Thanks again

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Zencache with Varnish?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/zencache_3c4c6b.svg)
 * [ZenCache](https://wordpress.org/plugins/zencache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zencache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zencache/)
 * [Active Topics](https://wordpress.org/support/plugin/zencache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zencache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zencache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [tictok](https://wordpress.org/support/users/tictok/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/zencache-with-varnish/#post-6436268)
 * Status: resolved