Learn R Programming

httpcache (version 1.2.0)

dropCache: Invalidate cache

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

dropCache(x)

dropOnly(x)

dropPattern(x)

Arguments

x

character URL or regular expression

Value

Nothing. Functions are run for their side effects.