| Author |
Pages seem to get cached and I have to press ctrl F5?
|
|
| MankyManning 2006-04-10, 7:36 pm |
| We have created an mcms site using SP2 and ASP.NET2. When in editing
mode if we save changes and exit the page looks like it did previous to
the change and I haver to press F5 to see the changes.
Additionally the end user has to press ctrl F5 to see live changes. I
have changed my IE settings to check for a new page each time.
What could be causing this? I am only using output caching on a few
select controls not actual content placehoders.
I am outputting the last modifed date in the http header using:-
Response.Cache.SetLastModified(CmsHttpContext.Current.Posting.LastModifiedDate.ToLocalTime());
I don't know if this would cause this or not....
| |
| Stefan [MSFT] 2006-04-10, 7:36 pm |
| Hi Manky,
do you have a proxy server inbetween?
Sometimes proxy caches cause such problems.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"MankyManning" <mankymanning@hotmail.com> wrote in message
news:1144236720.722445.23570@t31g2000cwb.googlegroups.com...
> We have created an mcms site using SP2 and ASP.NET2. When in editing
> mode if we save changes and exit the page looks like it did previous to
> the change and I haver to press F5 to see the changes.
>
> Additionally the end user has to press ctrl F5 to see live changes. I
> have changed my IE settings to check for a new page each time.
>
> What could be causing this? I am only using output caching on a few
> select controls not actual content placehoders.
>
> I am outputting the last modifed date in the http header using:-
>
> Response.Cache.SetLastModified(CmsHttpContext.Current.Posting.LastModifiedDate.ToLocalTime());
>
> I don't know if this would cause this or not....
>
| |
| MankyManning 2006-04-10, 7:36 pm |
| No I don't have a proxy server in place.
| |
| Stefan [MSFT] 2006-04-10, 7:36 pm |
| Hi Manky,
you should check the Cache-Control http header sent by the ASP.NET
templates.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"MankyManning" <mankymanning@hotmail.com> wrote in message
news:1144249303.930569.188220@i39g2000cwa.googlegroups.com...
> No I don't have a proxy server in place.
>
|
|
|
|