HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
The Expires property sets how long (in minutes) a page will be cached on abrowser before it expires. If a user returns to the same page before it expires, the cached version is displayed."
Parameter | Description |
---|---|
number | The time in minutes before the page expires |
Example 1
The following code indicates that the page will never be cached:
Example 2
The following code indicates that the page will expire after 1440 minutes (24 hours):
❮ Complete Response Object Reference