113

Heuristic Expiration

Official Deprecated
the cache has heuristically chosen a freshness time greater than 24 hours and the age of the answer is greater than 24 hours

Specification of the HTTP status code 113

A cache SHOULD generate this if it heuristically chose a freshness lifetime greater than 24 hours and the response's age is greater than 24 hours.

Source / Quote by: The 113 Heuristic Expiration HTTP Status Code is specified by section 5.5.3 of RFC7234.

HTTP-Protocol

work in progress

How to throw a 113 statuscode with PHP?

To throw the HTTP status code 113 on a web page, the PHP function http_response_code can be used. The syntax is as follows: http_response_code(113) (PHP 5 >= 5.4.0, PHP 7, PHP 8)

Test the 113 HTTP status code

In order to be able to display the HTTP status code (in this case 113 Heuristic Expiration) and other information on the client side, the development console must be opened with F12. Afterwards you have to navigate to the tab "Network". Now you can open the page, in the network tab you should see the web page (example index.php). This must be selected and then the Herder section must be selected. Here the user will see the following result:

Status code 113 Heuristic Expiration
Overview
URL: https://http-statuscode.com/errorCodeExample.php?code=113
Status: 113 Heuristic Expiration
Those: Network
IP address: XX.XX.XX.XX
Status code 113 Heuristic Expiration

Browser compatibility of the 113 status code

Chrome no data
Edge no data
Firefox no data
Opera no data
Safari no data
Chrome Android no data
Firefox for Android no data
Opera Android no data
Safari on iOS no data
Internet no data
WebView Android no data
Author: Tony Brüser
Author: Tony Brüser

Tony Brüser is an enthusiastic web developer with a penchant for HTTP status codes.

LinkedInGitHub