HTTP 226 IM Used vs 524 A Timeout Occurred
HTTP 226 (IM Used) is a 2xx Success response, while 524 (A Timeout Occurred) is a 5xx Server Error response. 226 indicates that the server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations. In contrast, 524 means that cloudflare-specific. A TCP connection was established but the origin didn't respond with an HTTP response in time.
Description
The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations.
When You See It
When using delta encoding to reduce bandwidth.
How to Fix
Rarely encountered. The response uses Instance Manipulations (IM) as specified.
Description
Cloudflare-specific. A TCP connection was established but the origin didn't respond with an HTTP response in time.
When You See It
When a request to the origin takes longer than Cloudflare's 100-second timeout.
How to Fix
Optimize slow endpoints. Move long-running tasks to background jobs.
Key Differences
226 is a 2xx Success response, while 524 is a 5xx Server Error response.
HTTP 226: The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations.
HTTP 524: Cloudflare-specific. A TCP connection was established but the origin didn't respond with an HTTP response in time.
You encounter 226 when when using delta encoding to reduce bandwidth.
You encounter 524 when when a request to the origin takes longer than Cloudflare's 100-second timeout.
When to Use Which
For 226 (IM Used): Rarely encountered. The response uses Instance Manipulations (IM) as specified. For 524 (A Timeout Occurred): Optimize slow endpoints. Move long-running tasks to background jobs.