ryan

ProcessWire Pro Cache - Now Available

Recommended Posts

With Drupal I tested the boost module (I think it's similar to ProCache?) and caching to ram with Varnish. Both works fine (guests only). With Varnish also images, JS, CSS can be cached (also logged in users if cookie removed via Varnish config).

If all cached pages (with the images/ files) saved to a cache directory maybe a tmpfs could make it even faster?

I keep ProCache in my mind if I need a caching solution ;)

Share this post


Link to post
Share on other sites
With Varnish also images, JS, CSS can be cached (also logged in users if cookie removed via Varnish config).

A ram cache is something completely different from ProCache. ProCache takes dynamically generated ProcessWire pages and converts them to static assets, so that they can be served directly by Apache (bypassing PHP and MySQL). Though that's the easy part. The biggest job is managing when those assets get deleted and/or re-created. Files like images, JS, CSS are already static assets (usually). I could be wrong, but I don't think that the hard drive is usually a bottleneck on most web servers. So I'd think minification and optimizing your client-side cache settings in htaccess, and then considering a CDN would be things I'd probably look at before a ram cache. ProCache is going to deliver the biggest performance benefit over any of these though, as it is minimizing or eliminating the biggest bottleneck on a dynamically generated site (PHP and MySQL). 

Share this post


Link to post
Share on other sites

ProCache version 2.0.0 (now in beta, available in the ProCache board) adds these new features:

Multi-host support

If you've got multiple hostnames pointing at your ProcessWire site, now you can cache them separately. 

 

SSL / HTTPS support

ProCache will now optionally cache HTTPS requests separately from HTTP requests. 

 

Switch to PDO queries

Previous versions of ProCache used MySQLi. This new version now uses PDO, consistent with ProcessWire 2.4.0. This improves performance when generating and maintaining caches. 

 

Requirements

ProCache 2.0 requires ProcessWire 2.4.0 or newer. ProCache 1.x still supports previous versions of ProcessWire.

  • Like 12

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.