Q:

Ajax call caching

I am using simple javascript to make an ajax call , which works well. But immediately after that if i refresh the page , the call is executed again. Is this a problem of ajax call being cached and how to fix it?  I am using php for server side language. 

A:

The browser will honor caching rules for ajax requests like any other requests.  If you set up proper caching in your php script that serves the response to the ajax call, then browsers should cache it and you won't have a performance hit.