Request caching allows to speedup it when it is used e.g. as AJAX for forming content. Each request can be cached separately depend on parameters and path. It is an ordered list that defines what queries should be cached and with what type of returned data.
Warning. It should be ensured, that added requests patterns are not excluded.
General#
-
Enables this item.
-
Expression for request URI. Regular expressions or simple string to find in request URI can be used. E.g. pattern
a/b/c
will be matched with request URI that contains this string. Or, e.g. pattern@\Warg1=@
will be matched with request URI that containsarg1
argument. Or, e.g. pattern@\Wa=@ & !@\Wb=@
will be matched with request URI that containsa
argument and doesn’t containb
argument. - Type
MIME type fore returned data.
Revalidation#
- Lazy revalidation
Allows updating the content in the background.
- Time to live
How long to cache.
- Time to live for cleanup
Not earlier than the expiration of this time after the last change of content, it will be completely removed.