Cache enabled
Go to System → Settings → System
Ensure that your production store has caching enabled. This setting helps improve website performance by storing frequently accessed data locally, reducing the need to fetch it from the database on every request.
The default cache driver is FILE. You can configure other drivers, such as APC, APCU, MEMCACHE, MEMCACHED, XCACHE, or REDIS, depending on your server environment and performance requirements.
cache driver
Change driver in the /system/config.php file
Please modify this line
define('CACHE_DRIVER', 'file');
All available drivers are located in the /core/cache/ folder
Clearing the Cache in AbanteCart
To clear the cache in AbanteCart, follow these steps:
- Access the Admin Panel: Log in to your AbanteCart administration panel.
- Navigate to System → Cache: Locate the "Cache" section.
- Clear Cache:
- Clear All Cache: Click the "Clear All Cache" button to remove all cached data.
- Clear Specific Cache: Select the specific cache types you want to clear (e.g., template, product, category) and click "Clear Selected Cache."
Manual Cache Clearing:
If you're unable to log in to the admin panel, you can manually clear the file cache by following these steps:
- Access the Cache Directory: Navigate to the
system/cache/
a directory within your AbanteCart installation. - Delete Cache Files: Delete all files within this directory except index.html file
Clearing the cache can temporarily slow down your website as it regenerates cached data. However, it's essential for ensuring that changes you make to your store are reflected correctly.
AbanteCart, all rights reserved. 2024 ©