Re: apache 2 expiresdefault
Glynn Clements <[email protected]> Wed, 9 Jul 2008 04:18:07 +0100
| Newsgroups | org.kernel.vger.linux-admin |
|---|---|
| Message-ID | <[email protected]> |
Jake Ravenwood wrote: > i have a linux/apache2 newly setup. i put it online last week but > after a day, i got a lot of email/phone complaints saying they are > seeing old pages/old contents of the site. My site changes > frequently(daily). after checking i found that apache has > ExpiresDefault A2419200 which spells to 28days. I changed it to > ExpiresDefault A0 and reload Apache. Some end-users are now seeing the > new content but some are still seeing the old pages. What else i > missed? If someone already has a cached version with the 28-day expiry, their web browser (or an intermediate proxy) is likely to keep using it until it expires or until they force a reload. Nothing you do to your web server can force those existing copies to expire prematurely. -- Glynn Clements <[email protected]>