------------------------------------------
<?php
$LastModified = gmdate("D, d M Y H:i:s \G\M\T", time());
header('Last-Modified: '.$LastModified);
------------------------------------------------------
as a result, only the following headers are present:
Cache-Control: max-age=0
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/html; charset=UTF-8
Date: Mon, 07 May 2018 06:50:24 GMT
Expires: Mon, 07 May 2018 06:50:24 GMT
Server: nginx
Transfer-Encoding: chunked
Vary: Accept-Encoding
X-Powered-By: PHP/5.6.30
X-UA-Compatible: IE=edge
__________________________________
how do I make this header appear?
Last-Modified6587: for example, this kind of header is sent. and on other hosting providers this header is sent
Comments