Recommendations

PageSpeed
YSlow

YSlow: Make AJAX cacheable

Overview

By allow AJAX requests to be cacheable, it can prevent unnecessary delays.

How does your site score on this recommendation?

Details from Yahoo!

One of AJAX's benefits is it provides instantaneous feedback to the user because it requests information asynchronously from the backend web server. However, using AJAX does not guarantee the user will not wait for the asynchronous JavaScript and XML responses to return.

Optimizing AJAX responses is important to improve performance, and making the responses cacheable is the best way to optimize them.

Summary

JS
Medium
Easy
100%

YSlow recommends:

To improve performance, it's important to optimize these AJAX responses. The most important way to improve the performance of AJAX is to make the responses cacheable, as discussed in Add an Expires or a Cache-Control Header.

Even though your AJAX responses are created dynamically, and might only be applicable to a single user, they can still be cached. Doing so will make your Web 2.0 apps faster.

Read More