I have a site (<!-- m --><a class="postlink" href="http://www.douglas-county.com/">http://www.douglas-county.com/</a><!-- m -->) that uses CSS for hover buttons along with the regular site's properties. There are actually 2 server-side includes that are called from each web page. The first contains the meta-tags and links to the different styles & scripts, and the second contains the full code for the CSS navigation.
Every time that a user goes to a different page on my site, the CSS stylesheet loads. It never caches, and I'm not sure why. Can anyone see why this CSS stylesheet isn't caching, and what I need to do to make it cache properly? Thanks for any help.How do you know it's not caching?How do you know it's not caching?
Because it loads all of the items each time the user visits another page on the site. Could that be caused by something different?Originally posted by kwilliams
Because it loads all of the items each time the user visits another page on the site. Could that be caused by something different?
What items, exactly, are you talking about? The menu items? That's likely to have been caused by JavaScript. I experience no such delay, however. Perhaps it's my Internet connection?It's not JavaScript, because the menu items are created with CSS. I used to have a navigation bar that used JS, but it took too long to load. That's why I switched to CSS.
When I view different pages, the taskbar on the bottom left of my IE 6.0 browser says "(### items remaining) Dowloading picture...". I also checked it out with Mozilla and didn't notice this issue. Could it just be something with the way IE works. My boss thinks that it's kind of distracting for the user to see each time a new page loads.
P.S. Thanks for your quick response.That is very interesting. Occasionally, Firefox will get hung-up the same way IE does -- the status bar will say something along the lines of "transferring data from <!-- w --><a class="postlink" href="http://www.douglas-country.com..">www.douglas-country.com..</a><!-- w -->. But I have no clue what was still trying to load - and apparently never did load - as all of the images and CSS were loaded. The menu worked fine, too. This is truly confusing.Thanks for clearing that up for me. That does make me feel much better. It's such a pain when things work differently in different browsers. Well, I guess that's life...Originally posted by kwilliams
Thanks for clearing that up for me. That does make me feel much better. It's such a pain when things work differently in different browsers. Well, I guess that's life...
Wish I could help more.
Every time that a user goes to a different page on my site, the CSS stylesheet loads. It never caches, and I'm not sure why. Can anyone see why this CSS stylesheet isn't caching, and what I need to do to make it cache properly? Thanks for any help.How do you know it's not caching?How do you know it's not caching?
Because it loads all of the items each time the user visits another page on the site. Could that be caused by something different?Originally posted by kwilliams
Because it loads all of the items each time the user visits another page on the site. Could that be caused by something different?
What items, exactly, are you talking about? The menu items? That's likely to have been caused by JavaScript. I experience no such delay, however. Perhaps it's my Internet connection?It's not JavaScript, because the menu items are created with CSS. I used to have a navigation bar that used JS, but it took too long to load. That's why I switched to CSS.
When I view different pages, the taskbar on the bottom left of my IE 6.0 browser says "(### items remaining) Dowloading picture...". I also checked it out with Mozilla and didn't notice this issue. Could it just be something with the way IE works. My boss thinks that it's kind of distracting for the user to see each time a new page loads.
P.S. Thanks for your quick response.That is very interesting. Occasionally, Firefox will get hung-up the same way IE does -- the status bar will say something along the lines of "transferring data from <!-- w --><a class="postlink" href="http://www.douglas-country.com..">www.douglas-country.com..</a><!-- w -->. But I have no clue what was still trying to load - and apparently never did load - as all of the images and CSS were loaded. The menu worked fine, too. This is truly confusing.Thanks for clearing that up for me. That does make me feel much better. It's such a pain when things work differently in different browsers. Well, I guess that's life...Originally posted by kwilliams
Thanks for clearing that up for me. That does make me feel much better. It's such a pain when things work differently in different browsers. Well, I guess that's life...
Wish I could help more.