General Community > HTML/CSS

Cache question

(1/3) > >>

Seph|roth:
Ususally when you view a website, images that appear one more than one page are shown from cache, so they don't have to be downloaded again everytime you view a different page with the same images.

My website doesn't do this, it reloades all images and stuff everytime again. Is this just a sever configuration that i can't do anything about and have to live with, or is there anything that i can do about it?

thanks

Aquilo:
if your aksing this about ultimateweapon.net it caches for me, it takes about 10 sec at fist to load the big logo image and when I click on the links the page load and then the image shows these link pages aren't redownloading for me becouse it takes about 2 sec for them to show everything!

it may be your ISP don't cache or your temp file is full on your computer!

Seph|roth:
hmmm... yes strange, ultimateweapon.net does cache...

i was actually talking about http://aimpower.ultimateweapon.net ... maybe you could check for me if that one caches too? doesn't work for me tho...

EDIT: and cleaning the cache doesn't help either...

Aquilo:
yes it downloads the images every time, it might be due to the javascript:

--- Code: ---function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
--- End code ---

when I browsed past it I looked for an array of images for it to load - but then read it and it looks to be loading every image in the document that's it's array. so this may be cousing the page to redownload the images becouse it's told to.

Seph|roth:
nope... removed all the JS code, still reloaded all images... :(

any more ideas?

Navigation

[0] Message Index

[#] Next page

Go to full version