How do I set caching headers to cache the GET of a url, but not the POST of the url?
For example, I have a URL: Do not post cached, because the whole intention of posting is to change something on the caching URL Like, set them, they will be ignored for the post side of things. / user / register . GET on that url returns the registration form. Posting a URL on that URL registers I should be cached in the form because it often does not change.
Comments
Post a Comment