Make AJAX cacheable

Why you should make AJAX cacheable

Method Type:  User (.JS)

(This means that the method is handled by the user)


Status: Must be applied by the user.




AJAX (in programming) is a group of technologies used for creating asynchronous applications also referred to as AJAX (JavaScript).


How AJAX works:


AJAX sends data to the server in the background (without changing the currently displayed page.) This way, full page reloading is not needed when data is exchanged between the web server and web browser. Drop-down menus are an example of asynchronous data exchange as they do not cause the page to reload or change its behavior. Making use of the ‘Cache Control’ and ‘Future Expires’ headers will make sure that the request will be cached just like normal HTTP requests are.


The caching of AJAX provides the following Advantages:


Faster response when accessing AJAX Menus or executing other AJAX related content.