I would like to confirm the last update date of the site, but when I looked at the contents of the source, it was not written.
So I checked the response header with the following command, but there was no Last-Modified item.(I tried it on other sites, but it was not found in the same way.)
curl --head https://www.youtube.com/
I looked into the reason and thought it was because of the server's configuration, but if there is any other possibility,
I asked a question because I wanted someone who knows more about it to tell me.(It's strange that all the sites I tried do not contain Last-Modified.)
The Last-Modified
header is determined by RFC7232 (partial excerpt):
An origin server SHOULD send Last-Modified for any selected
presentation for which a last modification date can be reasonably
and consistently determined,
It says SHOULD
instead of MUST
, and the web server does not necessarily need to send Last-Modified
.
For example, Web services that generate dynamic pages, such as CGM such as YouTube, often do not add Last-Modified
because the response date and time (value in the Date
header) becomes less meaningful.
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
912 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
610 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.