datagott > internet.* > internet.www.server-side

JF (04.07.2016, 17:22)
In mijn htaccess zie ik staan ExpiresDefault A600
Maar wat betekent die A600 ?
robert (04.07.2016, 18:52)
JF <nonsense>:
> In mijn htaccess zie ik staan ExpiresDefault A600
> Maar wat betekent die A600 ?


[..]
"The base time is either the last modification time of the file, or the
time of the client's access to the document. Which should be used is
specified by the <code> field; M means that the file's last modification
time should be used as the base time, and A means the client's access time
should be used.

The difference in effect is subtle. If M is used, all current copies of the
document in all caches will expire at the same time, which can be good for
something like a weekly notice that's always found at the same URL. If A is
used, the date of expiration is different for each client; this can be good
for image files that don't change very often, particularly for a set of
related documents that all refer to the same images (i.e., the images will
be accessed repeatedly within a relatively short timespan)."
JF (05.07.2016, 10:58)
> JF <nonsense>:
>> In mijn htaccess zie ik staan ExpiresDefault A600
>> Maar wat betekent die A600 ?


> [..]
> "The base time is either the last modification time of the file, or the
> time of the client's access to the document. Which should be used is
> specified by the <code> field; M means that the file's last modification
> time should be used as the base time, and A means the client's access time
> should be used.


> The difference in effect is subtle. If M is used, all current copies of the
> document in all caches will expire at the same time, which can be good for
> something like a weekly notice that's always found at the same URL. If A is
> used, the date of expiration is different for each client; this can be good
> for image files that don't change very often, particularly for a set of
> related documents that all refer to the same images (i.e., the images will
> be accessed repeatedly within a relatively short timespan)."


Mooie uitleg
Bedankt
Soortgelijke onderwerpen