Home > purgecss > ContentCache > delete
ContentCache.delete() method
Remove a file from the cache
Signature:
delete(filePath: string): boolean;
Parameters
Parameter | Type | Description |
|---|---|---|
filePath | string | path of the content file |
Returns:
boolean
true if the file was in the cache
