Answer the question
In order to leave comments, you need to log in
Expires, why is the date 1981?
Goodnight!
Found that my server response contains Expires with a strange date:
Expires: Thu, 19 Nov 1981 08:52:00 GMT
What does this mean? Is it bad that the date has passed and how to fix it? Apache + nginx server
Answer the question
In order to leave comments, you need to log in
Usually such headers are thrown, so that they are probably not stored in the cache.
This date is the birthday of one of the developers of the `session` extension for PHP ( https://stackoverflow.com/questions/8194481/why-is... )
This header (also `Pragma: no-cache`) is added automatically when the session is started (`session_start()`) to disable the cache. The date, in fact, is not important, the main thing is that it be from the past so that the cache is considered invalid.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question