wpsharks / comet-cache

An advanced WordPress® caching plugin inspired by simplicity.
https://cometcache.com
GNU General Public License v3.0
77 stars 18 forks source link

HTML Compressor fails silently when font resource returns 400 error #844

Open raamdev opened 7 years ago

raamdev commented 7 years ago

A user reported that the HTML Compressor was not working despite being enabled. Pages were cached as expected, but not compressed. It was discovered that a Google Font URL in the page source was returning a 400 error (the URL wasn't correct). After fixing that issue, the HTML Compression started working.

It would be nice to detect such issues and display a proper Dashboard notice indicating there is a problem, as opposed to silently failing.