Havenswift Hosting Ltd
All guides

Choosing a cache driver for your store

CubeCart can cache in several ways, and the setting is easy to get wrong in a way that only shows up later.

Store Settings, Advanced tab: the caching driver setting
Store Settings, Advanced tab: the caching driver setting

What is available here

The failure to know about

If you select a driver whose PHP extension is not enabled for your account, the store does not fall back gracefully – it fails, and you get a white page or a fatal error naming a missing class. Because the setting is stored in the database, the admin may be inaccessible too, which makes it awkward to undo.

We have seen exactly this after a PHP version change: the store was set to memcached, the account moved to a new PHP version whose extension list did not include memcached, and the shop went down. The setting was fine; the extension was missing.

So before selecting a driver

Confirm the extension is enabled for the PHP version your account is actually running – in cPanel, Select PHP Version, then the extensions list. Remember that extensions do not carry over when you change version. See Choosing a PHP version.

The inode angle

File caching on a large catalogue can produce tens of thousands of files. If you are near your inode limit, memcached avoids that entirely.

If in doubt

Ask us which drivers are available for your account before changing it. It takes a moment and avoids taking the shop down.

Other guides

Still stuck? Sign in and raise a ticket, and somebody will answer it.

Sign in