From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hubert Grzeskowiak Subject: Re: apache 2 expiresdefault Date: Wed, 09 Jul 2008 06:17:10 +0200 Message-ID: <48743BC6.6090807@nemesis13.de> References: <911176.26780.qm@web46107.mail.sp1.yahoo.com> <18548.11759.634428.311199@cerise.gclements.plus.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <18548.11759.634428.311199@cerise.gclements.plus.com> Sender: linux-admin-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-admin@vger.kernel.org Glynn Clements wrote: > 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. > hi Jake, try adding those meta tags to your (x)html files (into the head part of course): this won't force your clients to reload the page, but it should suppress future caching. it's just html, so sure not every browser will interpret that.