speedy_query_cache_allowlist
config value is changed you will need to clear your site cache to ensure new configuration is used.speedy_query_cache_allowlist
config value is changed or connection settings to the Redis server is changed you will need to clear your site cache to ensure new configuration is used. You will also need to delete the index_redis_default_site.php
file in the root of your site, then click the prompt below in your control panel to re-generate the index file.index.php
is) named static
.speedy_static_enabled
is set to yes
in your config.php
file..htaccess
file (or create one if it does not exist).speedy_driver
to redis
, and enable it in Redis driver settings page in the control panel, or add the following to your config.php file:{exp:speedy:static}
accepts the following parameters:ttl
The number of seconds before this cache item with expire. If left blank the default TTL (1 hour) will be used. Use ttl="0"
to cache this item until the cache it broken. (Default: ""
)tags
A pipe-separated list of tags to apply to this item. Tags can be used in the cache breaking settings. (Default: ""
)url_override
Override the url used as part of the key for non-global items. (Default: ""
)url_prefix
Add a prefix to the key. Useful for multi-lingual sites, e.g. url_prefix="{publisher:current_language_code}"
(Default: ""
)url_prefix="{if publisher:current_language_id != publisher:default_language_id}{publisher:current_language_code}{/if}"
speedy_static_path
option in your config.php
. If you do this, you must update your .htaccess
file..htaccess
file.STATIC_PATH
and SITE_NAME
in the following template:/products/shirt?size=small
is requested by the user and cached, it will not display the cached contents to any user until /products/shirt
is also cached.speedy_query_cache_allowlist
config value is defined and contains an array of values, query string caching will be enabled. Speedy will only cache unique pages that contain query strings keys defined in speedy_query_cache_allowlist
.index_redis_default_site.php
file will be auto-generated by Speedy during the setup process. If this file does not exist you will be prompted in Speedy's control panel page to generate the file.csrf_token
field matches the following format.csrf_token
field updated by Speedy is wrapped in HTML comments. If you do not see the following comments around your csrf_token
fields in cached output, then Speedy was not able to update the value for the current user.?speedy_debug=1
to any page request. This currently only works with Static caching.