JQuery Caching with POST

Although I have set cache: false in the JQuery AJAX Post request, it does not add an extra randomg line. Is it because the message is not being cached?

Thank you for your time.

+2


source to share


1 answer


RFC 2616 states (in section 13) that POST requests should not be cached.



Certain HTTP methods MUST cause the cache to strip you of the right to invalidate the object. It is either the object referenced by the Request-URI or the Location or Content-Location headers (if any). These methods:

- PUT
- DELETE
- POST

      

+2


source







All Articles