homepage Welcome to WebmasterWorld Guest from 50.17.107.233
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
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
stuart




msg:567768
 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

 

mivox




msg:567769
 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.

stuart




msg:567770
 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.

mivox




msg:567771
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved