boldenamsterdam / htmlcache

Cache pages to HTML and boost website performance on Craft CMS 3
MIT License
31 stars 21 forks source link

Skip cache if Ajax request #11

Closed JamesToothill closed 5 years ago

JamesToothill commented 5 years ago

Previously it was assumed an ajax request was a POST but you could be GET'ing via ajax (to get live content and skip out the html cache).

boldenamsterdam commented 5 years ago

Hi,

Thanks for the suggestion!