dropCache: Invalidate cache

Description Usage Arguments Value

Description

These functions let you control cache invalidation. dropOnly invalidates cache only for the specified URL. dropPattern uses regular expression matching to invalidate cache. dropCache is a convenience wrapper around dropPattern that invalidates cache for any resources that start with the given URL.

Usage

1
2
3
4
5

Arguments

x

character URL or regular expression

Value

Nothing. Functions are run for their side effects.


httpcache documentation built on Jan. 13, 2021, 7:46 p.m.