Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

IIS page caching?

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS: Capacity planning for iis- generic documentatin needed.  
Author Message
Tom wilson

External


Since: Apr 26, 2005
Posts: 9



(Msg. 1) Posted: Tue Feb 19, 2008 11:36 am
Post subject: IIS page caching?
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi!

We host a number of static web sites for clients under W2003/IIS6.
One of our clients is undergoing web design changes. They send us
changes to the text, we make them and they send us many of the same
changes. In other words, they're still seeing old pages although
we've changed them. They get all mad blaming us for the problem.

Is it us? Is there something in IIS that's caching the pages here?
Is there something we can add to our pages that will ensure the client
sees exactly what we have right this second?

Thanks!

 >> Stay informed about: IIS page caching? 
Back to top
Login to vote
"Lognoul, Marc

External


Since: Feb 05, 2008
Posts: 21



(Msg. 2) Posted: Wed Feb 20, 2008 8:34 am
Post subject: Re: IIS page caching? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If the client does not use any kind of web cache/proxy system, this is
certainly related to the content expiration settings of IIS.
For the details, look at those links:
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library...S/0fc16
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library...S/a0483

Also, make sure you don't have NTFS ability to update the last modified
tame/time disabled on your IIS server (non default configuration)

Marc

"Tom wilson" <yeahright DeleteThis @nospam.com> wrote in message
news:mc1mr39encq97jbfd03svekh85mcbveqg9@4ax.com...
> Hi!
>
> We host a number of static web sites for clients under W2003/IIS6.
> One of our clients is undergoing web design changes. They send us
> changes to the text, we make them and they send us many of the same
> changes. In other words, they're still seeing old pages although
> we've changed them. They get all mad blaming us for the problem.
>
> Is it us? Is there something in IIS that's caching the pages here?
> Is there something we can add to our pages that will ensure the client
> sees exactly what we have right this second?
>
> Thanks!
>

 >> Stay informed about: IIS page caching? 
Back to top
Login to vote
Tom wilson

External


Since: Apr 26, 2005
Posts: 9



(Msg. 3) Posted: Wed Feb 20, 2008 8:52 am
Post subject: Re: IIS page caching? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I did enable content expiry and it made no difference because (from my
remote testing) everything here is working. It's a client problem.
That's what I needed to verify, thanks!


On Wed, 20 Feb 2008 08:34:06 +0100, "Lognoul, Marc \(Private\)"
<lognoulm.RemoveThis@hotmail.com> wrote:

>If the client does not use any kind of web cache/proxy system, this is
>certainly related to the content expiration settings of IIS.
>For the details, look at those links:
>http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/0fc16fe7-be45-4033-a5aa-d7fda3c993ff.mspx?mfr=true
>http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/a0483502-c6da-486a-917a-586c463b7ed6.mspx?mfr=true
>
>Also, make sure you don't have NTFS ability to update the last modified
>tame/time disabled on your IIS server (non default configuration)
>
>Marc
>
>"Tom wilson" <yeahright.RemoveThis@nospam.com> wrote in message
>news:mc1mr39encq97jbfd03svekh85mcbveqg9@4ax.com...
>> Hi!
>>
>> We host a number of static web sites for clients under W2003/IIS6.
>> One of our clients is undergoing web design changes. They send us
>> changes to the text, we make them and they send us many of the same
>> changes. In other words, they're still seeing old pages although
>> we've changed them. They get all mad blaming us for the problem.
>>
>> Is it us? Is there something in IIS that's caching the pages here?
>> Is there something we can add to our pages that will ensure the client
>> sees exactly what we have right this second?
>>
>> Thanks!
>>
 >> Stay informed about: IIS page caching? 
Back to top
Login to vote
Irresistance

External


Since: Feb 21, 2008
Posts: 9



(Msg. 4) Posted: Thu Feb 21, 2008 1:49 am
Post subject: Re: IIS page caching? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you are using ASP, try adding this:

<%
Response.ExpiresAbsolute = Now() - 1
Response.AddHeader "Cache-Control", "must-revalidate"
Response.AddHeader "Cache-Control", "no-cache"
%>

and this in the <Head> section:

<META HTTP-EQUIV="expires" CONTENT="Wed, 03 Nov 1999 12:21:14 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv="Cache-Control" Content="no-cache">

I add these to almost every page of my sites to avoid exactly these kinds of
problems, works like a treat. Do ask your customer to clean out internet
files etc - and hit CTRL-F5 on first viewing. It should work almost straight
away

W

"Tom wilson" <yeahright DeleteThis @nospam.com> wrote in message
news:23cor39bbnto4a10n9ti02ual7j3mn8n20@4ax.com...
>I did enable content expiry and it made no difference because (from my
> remote testing) everything here is working. It's a client problem.
> That's what I needed to verify, thanks!
>
>
> On Wed, 20 Feb 2008 08:34:06 +0100, "Lognoul, Marc \(Private\)"
> <lognoulm DeleteThis @hotmail.com> wrote:
>
>>If the client does not use any kind of web cache/proxy system, this is
>>certainly related to the content expiration settings of IIS.
>>For the details, look at those links:
>>http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/0fc16fe7-be45-4033-a5aa-d7fda3c993ff.mspx?mfr=true
>>http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/a0483502-c6da-486a-917a-586c463b7ed6.mspx?mfr=true
>>
>>Also, make sure you don't have NTFS ability to update the last modified
>>tame/time disabled on your IIS server (non default configuration)
>>
>>Marc
>>
>>"Tom wilson" <yeahright DeleteThis @nospam.com> wrote in message
>>news:mc1mr39encq97jbfd03svekh85mcbveqg9@4ax.com...
>>> Hi!
>>>
>>> We host a number of static web sites for clients under W2003/IIS6.
>>> One of our clients is undergoing web design changes. They send us
>>> changes to the text, we make them and they send us many of the same
>>> changes. In other words, they're still seeing old pages although
>>> we've changed them. They get all mad blaming us for the problem.
>>>
>>> Is it us? Is there something in IIS that's caching the pages here?
>>> Is there something we can add to our pages that will ensure the client
>>> sees exactly what we have right this second?
>>>
>>> Thanks!
>>>
>
 >> Stay informed about: IIS page caching? 
Back to top
Login to vote
Anthony Jones

External


Since: Jan 28, 2006
Posts: 170



(Msg. 5) Posted: Thu Feb 21, 2008 7:56 am
Post subject: Re: IIS page caching? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Irresistance" <woy.TakeThisOut@irresistance.com> wrote in message
news:47bc3df5$1@dnews.tpgi.com.au...
> If you are using ASP, try adding this:
>
> <%
> Response.ExpiresAbsolute = Now() - 1
> Response.AddHeader "Cache-Control", "must-revalidate"
> Response.AddHeader "Cache-Control", "no-cache"
> %>
>
> and this in the <Head> section:
>
> <META HTTP-EQUIV="expires" CONTENT="Wed, 03 Nov 1999 12:21:14 GMT">
> <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
> <meta http-equiv="Cache-Control" Content="no-cache">
>
> I add these to almost every page of my sites to avoid exactly these kinds
of
> problems, works like a treat. Do ask your customer to clean out internet
> files etc - and hit CTRL-F5 on first viewing. It should work almost
straight
> away

The OP indicated that the content was static so even if the content is
pulled from DB using ASP the above is not a good idea. Static content
should allow for some caching.

Tom, is it HTML files you are editing. Can you give us a URL to visit?
It seems likely that the client has proxy server. Proxy servers can be
somewhat aggressive in their caching even in the presence of response
headers to the contrary.

If the client were to use Ctrl-F5 in IE do they still get old content?


--
Anthony Jones - MVP ASP/ASP.NET
 >> Stay informed about: IIS page caching? 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]