bluehost / endurance-page-cache

Other
24 stars 11 forks source link

Ensure posts and taxonomies are public before triggering purge requests. #61

Closed wpscholar closed 5 years ago

wpscholar commented 5 years ago

Ensure that we don't run purge requests for posts or terms that aren't publicly accessible (like nav menu items). This will also make sure that we don't purge for autosaves, which should significantly reduce unnecessary requests from Gutenberg saves.

Resolves issue #59

Pikamander2 commented 5 years ago

@wpscholar - I tried this out on our server and it fixed the issue. Thanks for the quick response!

Do endurance-php-edge.php or endurance-browser-cache.php need to be updated as well?

earnjam commented 5 years ago

@Pikamander2 They should not. endurance-php-edge is for helping to set PHP version and the endurance-browser-cache is actually part of this plugin now.

Got a few more updates in the pipeline coming to help with more accurate automatic cache purging.