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

Hehe, a proxy cashing PUTs can spice up your REST experience. How exactly will the proxy know someone else haven't updated a resource between 2 requests and it's safe not to pass the 2nd request to server?


Yep - it's not safe to assume you can cache a PUT in that way. AFAIK no caches do this.

What they should do though is purge their cache for that URI when they see a successful PUT has happened.




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

Search: