Is the "last-modified" timestamp show the time when the file was uploaded to the origin server?


#1

I would appreciate if someone could help me with the question below.

Which of the below is the right time recorded in “last-modified” timestamp in the HTTP header of the response from Cloudflare.

A. The time when the file was uploaded to the origin server. (It records the same time as the origin server)
B. The time Cloudflare fetched the file from the origin server.


#2

The Last-Modified response HTTP header contains the date and time at which the origin server believes the resource was last modified. It is used as a validator to determine if a resource received or stored is the same. Less accurate than an ETag header, it is a fallback mechanism. Conditional requests containing If-Modified-Since or If-Unmodified-Since headers make use of this field.


#3

This topic was automatically closed after 14 days. New replies are no longer allowed.