Like setting HTTP caching options, developers can cache responses for an AJAX request, so that content does not have to be fetched again. In most cases, GET requests are utilized, however, POST can be used as well for specific circumstances, like when caching is not an option or if the request that is sent to the server contains a lot of data. Regardless, making AJAX cacheable provides a faster load time and user experience.
Use GET for AJAX Requests
Lighthouse
Lighthouse is an open-source tool that is used to run an audit against your web pages and provides scores and suggestions for improving page performance, accessibility, SEO, and more.
PageSpeed Terms
PageSpeed Insights is a tool created by Google that reports on the performance of a page on both mobile and desktop devices, and provides suggestions on how that page may be improved.
YSlow
YSlow is an open-source website analysis tool that can be used to identify web page performance issues. Learn more about the YSlow to enhance your web pages and the user experience.