Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So a POST with explicit caching semantics?


no, a POST that is idempotent. caching is an optional side benefit.


Isn't that just a PUT minus the inferred semantics?


yeah good catch, my response was incomplete. QUERY is a POST that is not only idempotent but also safe (it does not change anything at all on the server) (and it's cacheable of course)

PUT is idempotent but not safe.


Good point.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: