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.


nealrichardson/httpcache documentation built on Jan. 18, 2021, 1:22 p.m.