Issue with Internet Explorer Caching

  • Thread starter Thread starter Chris Guillory
  • Start date Start date
C

Chris Guillory

Issue with Internet Explorer Caching

Okay here is the issue, I recently signed for hosting at
jv-hosting.net. This service allows me to host a primary
domain in the root directory and sub domains in sub
directories of the root. I have a my primary domain
(www.redblockinc.com) hosted here and when I request a
page from this domain, the page and its images are stored
in the Temporary Internet Files directory. Therefore, any
subsequent requests to the page load more quickly since
the browser simply loads the page and its images from the
cache. However, when I request a page from a sub domain
(tia.redblockinc.com), the page is saved but its images
are not saved in the Temporary Internet Files directory.
Subsequent requests to these pages require that all the
images of the page have to be reloaded. This makes
browsing very cumbersome not to mention the extra traffic
hitting the server.

Can you please let me know why the browser would save
pages and images from my primary domain but not save
pages from my sub domains? Is there some option that I
need to change? Please let me know if you have any
information.

Thanks in advance.

Chris Guillory
Redblock, Inc.
 
Chris Guillory said:
Issue with Internet Explorer Caching

Okay here is the issue, I recently signed for hosting at
jv-hosting.net. This service allows me to host a primary
domain in the root directory and sub domains in sub
directories of the root. I have a my primary domain
(www.redblockinc.com) hosted here and when I request a
page from this domain, the page and its images are stored
in the Temporary Internet Files directory. Therefore, any
subsequent requests to the page load more quickly since
the browser simply loads the page and its images from the
cache. However, when I request a page from a sub domain
(tia.redblockinc.com), the page is saved but its images
are not saved in the Temporary Internet Files directory.
Can you please let me know why the browser would save
pages and images from my primary domain but not save
pages from my sub domains? Is there some option that I
need to change? Please let me know if you have any
information.

Images from tia.redblockinc.com are cached okay here. The IE6 cache (TIF) is
*not* FIFO, so you can get unexpected results at times.
 
Chris,

You can prove that everything is cached by setting Work Offline
and doing Ctrl-N to clone the page. If it wasn't cached you would
see at least Red-X and perhaps even have to disallow a prompt
to connect.

I think that you are probably only noticing a difference in the relative
amount of checking that each page requires. The first page is very
simple so the number of checks is low. The second page has many
more components so the number of checks is high and thus takes
more time.

If you want to compare the two without the overhead of the checking
turn it off: Alt-T,O,Alt-S,N

Somewhere between that and Every Visit Automatic mode's heuristics
will kick in and out. I have never tried to get any detailed understanding
of how they are supposed to work. Presumably you "train" IE to know
whether checking is needed on certain components or not. Have you
tried testing that mode to find out when it stops checking normally?

Since you are a web master you may be able to take advantage of
some of the cache tuning which I suspect may be available for tuning
IE's Automatic mode (though that aspect doesn't seem to be mentioned
by this article):

http://msdn.microsoft.com/workshop/author/perf/perftips.asp?frame=true#Use_Cache-Control_Extensions


Good luck

Robert Aldwinckle
 
Back
Top