homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Duplicate filenames in different folders
will it cause any problems

 5:09 pm on Sep 28, 2001 (gmt 0)

Sorry to ask such a simple question but is it ok to have different variants of graphics in different folders but name them the same (ie next.gif and prev.gif) , will there be any problems such as browser cache issues? TIA



 5:16 pm on Sep 28, 2001 (gmt 0)

No problem at all... when the browser, server, etc. refer to a specific file, the file path is 'attached' to the name. So, you may think the graphics have the same name, the computer systems are seeing:

http*//www.domain.com/stuff/next.gif or /home/domain/www/stuff/next.gif
http*//www.domain.com/things/next.gif or /home/domain/www/things/next.gif
http*//www.domain.com/etc/next.gif or /home/domain/www/etc/next.gif

Each is a different 'name' because of the directory names 'above' the graphic file.


 6:18 pm on Sep 28, 2001 (gmt 0)

Thanks mivox for such a quick reply, wish I'd checked back earlier - lost in pixels! Sorry to extend my question but presumably any identical graphics, called from the main gfx dir by ../gfx/mainlogo, won't have to reload/download each time, but if those identical graphics were put (duplicated) in the different dirs stuff/logo things/logo etc/logo - would a browser reload each of them them? TIA yet again.


 6:27 pm on Sep 28, 2001 (gmt 0)

presumably any identical graphics...
Sounds like you've got it... :) (At least as far as my understanding goes)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved