Pastor Rick
Moderator
Registered: 07-2005
Location: Texas
Posts: 10257
Karma: 272 (+331/-59)
|
Reply | Quote
|
|
Community Banner reloads every time?
I am curious, on my Meadow's Green board the community banner (as defined by the ELC form) reloads after every single action, it shows, then reloads which doesn't really bother me with my high speed connection but it has to get annoying for folks with slower connections. Why is it doing this? If I changed the code so it used CSS to load the banner would it stop doing this?
|
4/25/2011, 2:23 am
|
Link to post
Email Pastor Rick
PM Pastor Rick
Blog
|
Lesigner Girl
Global Administrator
Head of Runboard staff
Registered: 11-2005
Posts: 26739
Karma: 436 (+489/-53)
|
Reply | Quote
|
|
Re: Community Banner reloads every time?
Are you actually seeing it load every time, or are you getting your information from Firebug? If the former, then the issue would have to be with your browser's settings, or maybe even your computer's speed. If the latter, it sounds like Firebug is doing its job.
The first time I loaded the banner and when I hard-refreshed, I could see it take a fraction of a second to load over cable, but if I simply refresh, it loads instantly from my browser's cache (temporary internet files, for others who are reading this).
To answer your question about foreground vs background images and loading times:
When a page loads, content (anything added via HTML) takes higher priority than styling (anything added via CSS). If you have an <img> tag at the beginning of your HTML, this image will have to load before the rest of the content can start loading.
Putting an image in the background won't make the image load more quickly, but it will allow the rest of the page to load without having to wait for a big image to load first.
Last edited by Lesigner Girl, 4/25/2011, 5:03 pm
|
4/25/2011, 5:02 pm
|
Link to post
Email Lesigner Girl
PM Lesigner Girl
Blog
|
Erika
Registered: 06-2003
Location: Runboard Staff
Posts: 3896
Karma: 184 (+192/-8)
|
Reply | Quote
|
|
Re:
It loads when I first clicked the board, but not after when I go into a thread. When I came out of it, I click the link again and it was loaded. If that helps.
|
4/25/2011, 5:25 pm
|
Link to post
PM Erika
|
Pastor Rick
Moderator
Registered: 07-2005
Location: Texas
Posts: 10257
Karma: 272 (+331/-59)
|
Reply | Quote
|
|
Re:
I actually see it doing this every time I come out of a topic before going into a new topic or going back to the forums list. The image is there, then it goes away and is reloaded as though there was no browser cache of the image.
|
4/26/2011, 1:41 am
|
Link to post
Email Pastor Rick
PM Pastor Rick
Blog
|
Lesigner Girl
Global Administrator
Head of Runboard staff
Registered: 11-2005
Posts: 26739
Karma: 436 (+489/-53)
|
Reply | Quote
|
|
Re:
I've seen that happen to a lot of IE users in the past, but that's really weird if you're using FF.
Assuming you're using FF, look in Tools > Options > Advanced > Network
Are you overriding the default cache setting? Mine is un-checked and uses 1.0 GB of disk space.
For others who might be getting a fresh download every time, you should probably put that image in the background via CSS, because like you said, 55.7kb can take a while to load on slow connections.
|
4/26/2011, 2:34 am
|
Link to post
Email Lesigner Girl
PM Lesigner Girl
Blog
|
Pastor Rick
Moderator
Registered: 07-2005
Location: Texas
Posts: 10257
Karma: 272 (+331/-59)
|
Reply | Quote
|
|
Re:
Mine is set at 1024 MB, when I view the image info it says not-cached in "quirks mode."
|
4/26/2011, 3:29 am
|
Link to post
Email Pastor Rick
PM Pastor Rick
Blog
|
Lesigner Girl
Global Administrator
Head of Runboard staff
Registered: 11-2005
Posts: 26739
Karma: 436 (+489/-53)
|
Reply | Quote
|
|
Re: Community Banner reloads every time?
Ok, type about:config into your address bar, go there, and make sure
browser.cache.disk.enable is set to true.
If that already says true, or if changing it to true doesn't work, then try the other things described here.
|
4/26/2011, 4:03 am
|
Link to post
Email Lesigner Girl
PM Lesigner Girl
Blog
|
Pastor Rick
Moderator
Registered: 07-2005
Location: Texas
Posts: 10257
Karma: 272 (+331/-59)
|
Reply | Quote
|
|
Re:
I had to change a few other things and reboot since it kept insisting the cache was disabled until I did that but that fixed it for me
|
4/26/2011, 4:31 am
|
Link to post
Email Pastor Rick
PM Pastor Rick
Blog
|
Lesigner Girl
Global Administrator
Head of Runboard staff
Registered: 11-2005
Posts: 26739
Karma: 436 (+489/-53)
|
Reply | Quote
|
|
Re: Community Banner reloads every time?
That's good news!
I wonder how it became disabled.
|
4/26/2011, 4:47 am
|
Link to post
Email Lesigner Girl
PM Lesigner Girl
Blog
|