Clear Data
Go to System → Clear Data.
AbanteCart caches commonly used database queries, layout structures, image thumbnails, and other heavy-to-compute data so the storefront stays fast. This page lets you clear individual caches when content has been changed and needs to be refreshed, or wipe everything in one step. The same page also exposes a few maintenance actions that clear audit history and active sessions.
Clearing the images cache will force the server to regenerate thumbnails on the next storefront visit.
Expect a slower first page load and higher CPU usage right after the clear.
What each section clears
Tick the boxes for the caches you want to refresh, then click Clear Selected Cache.
Configuration: system and store configuration (settings, extensions, stores, attributes, length and weight classes, contents, tax classes, order statuses, stock statuses, storefront menu, and the related tables).
Layouts & Blocks: cached layout data for pages and blocks.
Flexy Forms: cached Flexy Form data.
Images: image thumbnails on disk. AbanteCart deletes every file under
image/thumbnails/(except theindex.htmlplaceholder files) and the empty subdirectories beneath it.Products: cached product data.
Categories: cached category data.
Brands: cached brand (manufacturer) data.
Localisations: currencies, languages, countries, zones, length and weight classes, and other localisation data.
Error Log: deletes the current AbanteCart error log file (the file configured as Error Log Filename in System → Settings → System). The file is recreated by AbanteCart the next time a new entry is written.
Install/Upgrade History: clears every row in the Install/Upgrade History audit table. Files on disk (backups, extension folders) are not touched; only the history rows are removed.
Text Edits History: clears the saved history of inline text edits made through the storefront text editor.
Clear All Session Data: deletes all user and customer session records, and removes shopping (cart) session data older than three days. Active admin and customer sessions are signed out except the administrator running the action. Use this when you need everyone to be forced to re-log in.
Clear all data
The Clear all data button runs the whole list in one shot: it removes every cache entry across all cache groups (including any cache subdirectories on disk), deletes all thumbnails, and clears session data using the rules above.
Related: turning the cache off entirely
Disabling the cache altogether is a separate configuration and is not done from this Clear Data page. See Disable Cache for how to turn caching off in System → Settings. Disabling caching is not recommended on a production store: cached data is not regenerated, and the site can become slow under regular traffic.
Cache drivers
The default cache driver is FILE. AbanteCart also ships with drivers for APC, APCU, MEMCACHE, MEMCACHED, XCACHE, and REDIS. Recommended is REDIS
To change the driver, edit
/system/config.phpand update:
define('CACHE_DRIVER', 'file');
The driver implementations live in /core/cache/