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

Idempotency is an important attribute for correctness. Yep, you can document that POSTing to $ENDPOINT is idempotent, but you can't communicate that to caching layers throughout the network. QUERY, by definition, is idempotent and cacheable.
 help



Great point. I wish more people realized that intuitively.

[flagged]


Larger scales like what? I expect that everywhere you currently cache GETs you can cache QUERYs. But does caching GETs work at scale?



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

Search: