In an Apache config file or a .htaccess file, is there any difference between ExpiresDefault "access" and ExpiresDefault "access plus zero seconds"?
Are they the exactly the same?
Is the second one even valid?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The second one should say
0instead ofzero.From the manual:
The ExpiresDefault and ExpiresByType directives can also be defined in a more readable syntax of the form:
where
<base>is one of:The ‘plus’ keyword is optional.
<num>should be an integer value [acceptable to atoi()], and<type>is one of:ExpiresDefault "access plus zero seconds"has probably been used where the author at one point had a time addition there and forgot that 0 isn’t the same as zero!