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

update cache engine #155

Closed coreykn closed 3 years ago

coreykn commented 3 years ago

Update cache engine to not start if the request URI contains .ico, .txt, .xml, or .xsl. This will help reduce unnecessary engine starts, especially as the WordPress files that commonly have those extensions (e.g. robots.txt, sitemap.xml, etc.) are often requested automatically by bots and are not cached anyway.

Update cache engine start to check if Ajax request only on the early start. This is still needed in the late start, like for plugin updates, and likely other cases. This will help reduce unnecessary cache checking.

Update default query string cache exclusion that was added in PR #154 to no longer have ao_noptimize.