473,386 Members | 1,673 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

slow images and IE on asp.net site

any settings i need to set so that IE and other browsers cache the images
properly, especially during a preload.
it seems that using IE, the images are being requested each time when
refresh instead of accessing in browser cache

do we have to set the cache-control: public in asp.net page; currently its
set to cache-control:private

our images are not stored on the web servers but on dedicated image servers
http://pictures.mls.ca/mls/reb14/highres/1/1657611.jpg

this is our site with slow listing photo images:
http://www.mls.ca/PropertyDetails.as...ertyID=2196284

i hear that there is a bug with IE; is this true?
http://www.netmechanic.com/news/vol6/javascript_no1.htm

thanks
stephane
Nov 18 '05 #1
3 1515
Hi sviau,
Thanks for posting in the community!
From your description, you found that the Images on your web page seems
always downloaded from the remote url address rather than retrieved from
local browser cache, yes?
If there is anything I misunderstood, please feel free to let me know.

I've visited the link you provided and visit it via both IE and Mozilla and
did found that when I refresh the page, IE did cause more time to display
the images again, seems not using the cached image. In fact, the page use
the resource in cache first is default behavior so there is not additional
setting we need to do for the page or on serverside(such as in ASP.NET
code or ..). And we can find that those images did be downloaded into the
local Internet Temp folder of the IE Browser. I've searched for some
reference on the image cache in IE and found that there did exist some
issues when IE retrieve images in web page. Here are some the web links to
them:

#Internet Explorer May Not Use Images Stored in Local Cache
http://support.microsoft.com/default...b;en-us;217196

#Web Pages Retrieved Using Form Submit Are Not Retrieved from the Cache
http://support.microsoft.com/default...b;en-us;226972

So I think this maybe a internal behavior of the IE rather than caused by
any wrong setting of the web page or... Do you think so?

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #2
thank you for the resopurces, but they refer to old version of IE; does
it still impact IE 5+; in particular IE6?

does the fact that the page header has cache-control: private have
anything to do with it ?

thanks
stephane

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #3
Here are the headers from your site:

GET /mls/reb14/highres/1/1657611.jpg HTTP/1.1
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR
1.1.4322; .NET CLR 1.0.3705)
Host: pictures.mls.ca
Proxy-Connection: Keep-Alive

HTTP/1.1 200 OK
Content-length: 15138
Date: Fri, 20 Feb 2004 09:29:07 GMT
Content-type: image/jpeg
Server: thttpd/2.20b 10oct00
Last-modified: Tue
This isn't anything you can control on your ASP.NET application-- you need
to fix the headers on your image delivery servers. For instance, you should
set a EXPIRES or Cache-control: max-age header. Generally, you do this
using the Web server software to assign a Content-expiration value for the
entire folder.

I could tell you how to do this in IIS, but I'm not sure how to do it in
thttpd. You'll have to check the docs.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
"Stephane Viau" <sv***@crea.ca> wrote in message
news:OM**************@TK2MSFTNGP11.phx.gbl...
thank you for the resopurces, but they refer to old version of IE; does
it still impact IE 5+; in particular IE6?

does the fact that the page header has cache-control: private have
anything to do with it ?

thanks
stephane

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Xiao Li | last post by:
I have an application written in ASP. It only uses JavaScript (.js) on client side. If the browser is accessing the web site through fast connections, like intranet or broadband, everything is...
2
by: jmhill | last post by:
Has anyone else had this issue? Basically, the preload of images for a rollover effect for the navigation is really really slow when using IE 6.0 but when i view the site using Netscape, it's fast...
4
by: Adrian MacNair | last post by:
Hi, I created an image gallery which displays 63 images in a slideshow. The problem is that the show was slow because each image loaded one at a time during the show. No problem right? I just...
3
by: Jack | last post by:
I've got a client that has a site that seems to be serving images up slowly. win2k, xeon, 1gig ram, the box is inhouse. HTML generation and viewing is blazingly fast. The page size runs around...
1
by: IkyL234 | last post by:
I'm using Access2000. I have just designed a database which seems to be operating very slow on a network. There are currently only a few records in it. Should I be compacting it now before it gets...
3
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - Why are my Rollovers so slow? ----------------------------------------------------------------------- Images...
2
by: rdc.arch | last post by:
Hello all - let me start by saying i am an architetural designer, not a web designer - but my wife is just starting a business and we can not fford to hire a website designer so i have created...
4
by: bluepete | last post by:
I have migrated to Vista Business and installed IIS 7.0. I moved some classic ASP pages from my old XP box running IIS to the new box. I've made no changes to the code, which worked fine on the old...
10
by: penworthamnaynesh | last post by:
Does php slow your website down? This is what i would like to know.The reason is because my site is writtent 50% in html and 50% in php and is very slow at loading. And i cant tell wether php is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.