The expires
value is not allowed in HTML5 for the <meta>
tag and the http-equiv
attribute, here you can see the specification: link
The only values allowed are:
'content-language', 'content-type', 'default-style', 'refresh' and 'set-cookie'
The solution is to send the field in the headings, which is defined here: link
An example is:
Expires: Thu, 01 Dec 1994 16:00:00 GMT
According to the documentation to send "never" as the expiration date, a date should be sent approximately one year after the HTTP response was sent , it is also recommended NOT to send dates after one year in the future.