2 min read

Peakhour's Opencart plugin includes features that are usually reserved for enterprise plans with other providers. It follows our 'Enterprise for Everyone' approach in a practical way:

Tag-Based Flushing

Peakhour's plugin records metadata for each Opencart page in the cache. When you update a product or category, only the relevant pages are refreshed. That keeps cache flushing targeted instead of clearing more content than necessary.

Opencart 3 [full page](/blog/drupal/drupal-purge-module/) caching headers Headers returned by caching plugin.

Custom TTL

Control how long a resource stays in the cache before it checks for a new version. This gives you a direct way to manage cache freshness.

Ajax Mini Cart and Wishlist

Dynamic sections like mini carts and wishlists usually prevent caching. The plugin loads these sections via Ajax, which makes more pages cacheable.

Cache Vary

The plugin adapts to different user states, currencies, and languages. It changes a cookie value to create separate cache regions for these variables.

Peakhour vs. LiteSpeed and Varnish Cache

LiteSpeed and Varnish Cache are good options, but Peakhour offers a more flexible and efficient caching solution for Opencart. The plugin makes Opencart as cache-friendly as Magento 2 or Drupal 8, if not more so.

The Results Speak for Themselves

Our client saw a clear improvement in their web vitals scores and website scalability. Full page caching was enabled in October, with the gains shown below.

Opencart 3 web vitals improvement Full page caching was enabled in October. Note a significant amount of pages, eg checkout, admin etc cannot be cached which affects these stats

For more information, visit our plugin page or contact us.