keycdn / cache-enabler

A lightweight caching plugin for WordPress that makes your website faster by generating static HTML files.
https://wordpress.org/plugins/cache-enabler/
123 stars 46 forks source link

remove class constants #200

Closed coreykn closed 3 years ago

coreykn commented 3 years ago

Remove Cache_Enabler_Disk::CACHE_FILE_HTML, Cache_Enabler_Disk::CACHE_FILE_GZIP, Cache_Enabler_Disk::CACHE_FILE_WEBP_HTML, and Cache_Enabler_Disk::CACHE_WEBP_GZIP. These constants are unnecessary because they are only called once (in the Cache_Enabler_Disk class) and are not needed in any other class.