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

autoCacheCheckXmlSitemap Waits for 404? #918

Open jaswrks opened 6 years ago

jaswrks commented 6 years ago

A user reports...

There is a problem located in AutoCacheUtils.php in the function autoCacheCheckXmlSitemap(). The WP Remote post to non existing URLs causes slowness , because it waits for the timeout // 404 from the Server. Untit that isn't fired the backend won't load completely, because you hook in 'admin_init'.

jaswrks commented 6 years ago

Referencing internal/private ticket: https://secure.helpscout.net/conversation/447478214/2261?folderId=1246818