Hi
Is there a way to stop headers, footers and shared images through out the site from reloading every time a user goes to a different page ?
Thank you
8 Replies - 2100 Views - Last Post: 03 June 2008 - 08:30 PM
#1
Stop headers, footer and shared images from reloading
Posted 02 June 2008 - 04:25 PM
Replies To: Stop headers, footer and shared images from reloading
#2
Re: Stop headers, footer and shared images from reloading
Posted 02 June 2008 - 04:33 PM
Images should be cached by the users browser, & should only load if they are detected to be different than the last load.
#3
Re: Stop headers, footer and shared images from reloading
Posted 02 June 2008 - 05:08 PM
#4
Re: Stop headers, footer and shared images from reloading
Posted 02 June 2008 - 07:42 PM
I beleive that most browsers (as no2pencil stated) cache images and other static content that a website/page uses. However each page load requires that the image is rendered again (sadly).
If you really want to avoid this I would reccomment making your site use ajax (or other client side - server side communication) to update only the content areas of your pages.
There are numerous "hacks" out there to make sure that the history buttons still work for ajax based sites.
If you really want to avoid this I would reccomment making your site use ajax (or other client side - server side communication) to update only the content areas of your pages.
There are numerous "hacks" out there to make sure that the history buttons still work for ajax based sites.
This post has been edited by BetaWar: 02 June 2008 - 07:42 PM
#5
Re: Stop headers, footer and shared images from reloading
Posted 02 June 2008 - 08:26 PM
BetaWar, on 2 Jun, 2008 - 07:42 PM, said:
I beleive that most browsers (as no2pencil stated) cache images and other static content that a website/page uses. However each page load requires that the image is rendered again (sadly).
If you really want to avoid this I would reccomment making your site use ajax (or other client side - server side communication) to update only the content areas of your pages.
There are numerous "hacks" out there to make sure that the history buttons still work for ajax based sites.
If you really want to avoid this I would reccomment making your site use ajax (or other client side - server side communication) to update only the content areas of your pages.
There are numerous "hacks" out there to make sure that the history buttons still work for ajax based sites.
Aren't they suppose to be cached by the broswer? I enable the cache in IE 7 and the result is still not caching the images?
#6
Re: Stop headers, footer and shared images from reloading
Posted 03 June 2008 - 12:14 AM
Yes, the browser can/will cache images, but each time the page is loaded it is rendered for the browser view. Instead of telling the site to access a file the browser is asking for the image/file off of ram, at which point it has to have enough space freed up to actually load the image anyway; there is still an image file, just different place of storage.
#7
Re: Stop headers, footer and shared images from reloading
Posted 03 June 2008 - 09:02 AM
BetaWar, on 3 Jun, 2008 - 12:14 AM, said:
Yes, the browser can/will cache images, but each time the page is loaded it is rendered for the browser view. Instead of telling the site to access a file the browser is asking for the image/file off of ram, at which point it has to have enough space freed up to actually load the image anyway; there is still an image file, just different place of storage.
So is there a way to make the header and other shared images not to reload in IE or firefox?
#8
Re: Stop headers, footer and shared images from reloading
Posted 03 June 2008 - 12:12 PM
Probably, I just haven't found anything that works for it yet (though I haven't been looking very hard).
#9
Re: Stop headers, footer and shared images from reloading
Posted 03 June 2008 - 08:30 PM
BetaWar, on 3 Jun, 2008 - 12:12 PM, said:
Probably, I just haven't found anything that works for it yet (though I haven't been looking very hard).
Right now I can see all the files being cached in IE 7 in the Temporary Internet files folder in Windows XP, but the pages still reloads when I click on the individual buttons. It looks like its been cached , but why they still need to load those images ?
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|