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 / August 2005

Tip: Looking for answers? Try searching our database.

outputcache location choices

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Omar Abdelwahed - 24 Aug 2005 20:11 GMT
Got another outputcache question!

I've been using outputcache for an aspx page that dynamically generates
images. This page is called many times by another page requesting images by
unique identifiers (id, width, etc). I noticed that when I have
Location="any" or by default my browser DOES NOT cache the images. If I
specify, Location="client", then they appear in my browser's temporary files
directory.

I assumed that "any" meant "all" HTTP 1.1 cacheable clients and the
originating server would cache the images. Is this not true? How about
"ServerAndClient"... does that mean both WILL cache or either MAY cache? Is
there an order followed? If so, how does one client in a chain of clients
passing along a single request (browser -> proxy .... -> server) know if a
returned reponse was cached along the way??

I'd like all clients to cache (if willing and enabled) for speed
performance, obviously. Currently, the reponses still seem rather slow for a
caching solution.

Thanks!
-Omar
Omar Abdelwahed - 25 Aug 2005 21:53 GMT
Still having probs with this... With Outputcache Location="any", I've
confirmed that my web server is caching, but my test browsers are not. So,
the images defintely load faster from server cache than making a DB request,
but it would be even more fast if the local browser cache was used as well.

Any ideas?

-Omar

> Got another outputcache question!
>
[quoted text clipped - 18 lines]
> Thanks!
> -Omar

Rate this thread:







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.