HF RL Explorer

Task: Implement a Service Worker with HTTP 304 Detection Workaround

Task: Implement a Service Worker with HTTP 304 Detection Workaround: a task in Terminal-Lego-15k (Harbor dataset). When a service worker uses fetch() to send requests to a server, the browser's HTTP cache intercepts 304 (Not Modified) responses and transparently replaces them with 200 responses…

The task

When a service worker uses `fetch()` to send requests to a server, the browser's HTTP cache intercepts 304 (Not Modified) responses and transparently replaces them with 200 responses using the cached content. This makes it impossible for the service worker to distinguish between a genuine 200 (new content available)…

Part of PrimeIntellect/Terminal-Lego-15k.