Cache Ajax responses


Ajax responses that won’t be changed in the near future should not be re-requested from the server. You can therefore cache them to save bandwidth.

If an Ajax request returns a list of cities, contact names or any non-calculated element, you should cache these responses client-side in order to not generate another request to the server.

This best practice should only be applied if it is coherent with your project's specifications.
Under CC-By-NX-SA license