Cache Setting
Last updated
Last updated
Navigate to Sites -> Sites Settings -> Site Settings -> Cache Settings
Click Add Cache
Add Cache
File Type: Cache based on file extensions.
URL: Cache based on URL regular expressions.
Name: Any identifiable name for the cache rule.
Cache Duration: How long after loading the cache before data is fetched again from the origin.
Value
If the type is File Type, here you specify the file extensions to be cached (multiple selections allowed).
If the type is URL, enter the URLs to be cached.
Ignore Query Parameters for Caching: By default, different parameters in the same URL are treated as different files for caching. With this option selected, URLs with different parameters will be treated as the same file for caching purposes.
Force Caching: By default, caching occurs only if the response header of the file resource includes Cache-Control. When selected, caching will occur even if there's no Cache-Control header.