How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Advanced Caching Support for WHMCS(Valkey/Redis/Memcached - Varnish)

  • BENELUX shared this idea 5 months ago
  • Core System
  • 3 Comments


I suggest adding advanced caching support to WHMCS using Valkey/Redis and Varnish to improve loading times for both the frontend and backend.

Valkey is an open-source fork of Redis that works exactly like Redis and can be used to store frequently accessed data sessions and API responses With the correct Varnish configuration so we can reduce server load and speed up page delivery.

This setup will benefit the admin area by making dashboards faster and reducing database queries It will also improve the client area by making pages like invoices products and services load more quickly.

Using Valkey and Varnish together allows a multi-layered caching strategy Valkey handles backend caching for database queries and sessions while Varnish handles frontend caching for pages and static content.

The main advantages are faster page loads for both clients and admins lower server resource usage reduced database load and using an open-source solution that is widely supported and configurable!

The implementation could include optional Valkey support for session and query caching a recommended Varnish configuration and an interface in WHMCS to control caching rules easily.

3 Comments

Login to post a comment.

Hi BENELUX,

That’s a really solid idea.

I especially like the idea of making it optional and configurable from within WHMCS itself. If users could toggle caching layers and define rules without needing deep server knowledge, it would make adoption much easier. It could also be useful to include fallback behavior in case the cache layer goes down.

Thanks for bringing this up!
https://slope-3d.io
I have to agree here. Kind of surprised that in 2026, WHMCS doesn't already have redis incorporated
To this, I would add that having a well-tested OPcache support would be even better as OPcache comes with PHP and helps improve the performance of WHMCS significantly.