Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Caching / October 2003

Tip: Looking for answers? Try searching our database.

How to prevent annoying page caching between rebuilds?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ronen - 07 Oct 2003 22:47 GMT
Why every time I make a change to a WEB page, rebuild and run the
application, my changes do not appear?
The only way to see my changes is to refresh the page from the browser

Any ideas?
GB - 08 Oct 2003 12:45 GMT
That should not be happening, as the web application is
unloaded when you build it. (Obviously) the page is being
cached somewhere. Is there a proxy between the browser and
the server? Proxies can cache pages.

Perhaps this will solve your problem:

Response.Cache.SetCacheability
(HttpCacheability.ServerAndNoCache);

on the Application_BeginRequest event in Global.asax. This
avoids caching on the browser and on any cache-capable
element between the browser and the server (such as
proxies).

>-----Original Message-----
>Why every time I make a change to a WEB page, rebuild and run the
[quoted text clipped - 4 lines]
>
>.
Ronen - 13 Oct 2003 00:12 GMT
It didn't help, but thanks any way.

> That should not be happening, as the web application is
> unloaded when you build it. (Obviously) the page is being
[quoted text clipped - 21 lines]
> >
> >.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.