: Regarding the first snippet, you should avoid using the ExpiresDefault line as that will cache all your pages as well which you probably don't want. The 'plus' keyword you mention is optional,
Regarding the first snippet, you should avoid using the ExpiresDefault line as that will cache all your pages as well which you probably don't want.
The 'plus' keyword you mention is optional, see the Apache docs for details. So that snippet is the same as the first but with the expiry time in seconds, not days.
The final snippet is a different caching method, but which basically has the same result. Some resources suggest Cache-control is better than Expires, I think because it plays more friendly with proxies. I'm not sure why the line for Javascript sets it to private since that is equally as valid set to public.
More posts by @Yeniel560
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.