Home > purgecss > PurgeCSS > contentCache
PurgeCSS.contentCache property
Cache of the selectors extracted from the content files. When set, a content file is only read and extracted again if it changed since the cache got its selectors, see ContentCache. The same cache can be set on several PurgeCSS instances, running one after the other or at the same time.
Signature:
contentCache?: ContentCache;
Default Value
undefined, the content files are read on every run
