Backend & APIs
HTTP Conditional Requests and ETags: Revalidate Caches and Prevent Edit Conflicts
HTTP conditional requests let a client tell the server which representation it last saw and make an operation depend on whether that state is still current. For reads, ETag with If-None-Match can validate a cached representation and avoid resending its body with 304. For updates, If-Match can prevent a stale edit from overwriting another user's change. The server must support and evaluate the condition correctly.