Page 1 of 1

More than one file with samename from diff dir in cache

Posted: Tue Aug 17, 2004 3:18 am
by anjanesh
Will this affect the cache ?

<LINK HREF=".../diffdir/index.css" REL="stylesheet" TYPE="text/css">
<LINK HREF=".index.css" REL="stylesheet" TYPE="text/css">

Will both the styles be stored or will the latter overwrite the former ?

Posted: Tue Aug 17, 2004 12:52 pm
by Draco_03
it's a good question
I'm not sure but i'm think that it wil cache the file only once.

Posted: Tue Aug 17, 2004 4:04 pm
by feyd
the latter will overwrite styles (on a page-by-page basis) that "conflict" with the previous styles..

Posted: Tue Aug 17, 2004 4:32 pm
by m3mn0n
Well looking at my Temporary Internet Files, I'd say the answer is that they can co-exist easily.

Files are stored with the exact web address with them, so there can be hundreds of index.html's or style.css's, and the browser won't get mixed up.

And if you chose to import say two files that are named the same, yet are two seperate files in seperate folders, then I'm positive they will work also.