Cache

Clear all caches

Click this button to clear all ASA2 caches at once.

Template cache

This option activates the template cache. Learn more about the caches in chapter Caching.

Template cache lifetime

Here you can configure a custom template cache lifetime in seconds. Default is 3600 (one hour).

Consider Post ID

If you work with the WordPress Post template placeholders, you should enable this option. Otherwise the values of the first loaded Post will be cached and used for the placeholders on all other pages.

Template cache option to consider Post ID

Clear template cache

Click this button to clear the template cache directly.

Button clear template cache

Object cache

This option activates the object cache. Learn more about the caches in chapter Caching.

Object cache lifetime

Here you can configure a custom object cache lifetime in seconds. Default is 3600 (one hour).

Clear object cache

Click this button to clear the object cache directly.

Button clear object cache

Keywords cache

This option activates the keywords cache. Learn more about the keywords in chapter Keywords.

Keywords cache lifetime

Here you can configure a custom keywords cache lifetime in seconds. Default is 7200 (two hours).

Preload threshold

Defines the period before cache expiration in which the cronjob should update the keywords cache. Expects a time value in minutes. Default is 15 minutes.

Clear keywords cache

Click this button to clear the keywords cache directly.

Translation cache

This option activates the template translation cache. Learn more about the caches in chapter Caching.

Translation cache lifetime

Here you can configure a custom template translation cache lifetime in seconds. Default is 86400 (one day).

Clear translation cache

Click this button to clear the translation cache directly.

Button clear template translation cache

Associate ID sets cache

This option activates the Associate ID sets cache. Learn more about the caches in chapter Caching.

Associate ID sets cache lifetime

Here you can configure a custom Associate ID sets cache lifetime in seconds. Default is 86400 (one day).

Clear Associate ID sets cache

Click this button to clear the Associate ID sets cache directly.

Button clear Associate ID sets cache

Deactivate for admin

If this option is enabled, all ASA2 caches will be ignored on the front-end if you are logged in as administrator.

Cache mode

Here you can select between different caching techniques.

Button clear template translation cache

File

With option “File”, the caches will use temporary files to cache the data. ASA2 uses WordPress function get_temp_dir to determine a proper writeable directory to put the cache files into.

You can enter a custom writeable directory in option field “Cache dir”:

Cache custom file dir

Memcached

If your server has Memcached support for PHP, you can select this a caching mode. The caches will use the servers memory to cache the data which is faster than the filesystem.

Note

If this option is not available, your server does not support PHP Memcached extension.

Cache mode Memcached