Welcome to WebmasterWorld Guest from 54.227.125.200

Forum Moderators: incrediBILL

Message Too Old, No Replies

Duplicate filenames in different folders

will it cause any problems

     

stuart

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

10+ Year Member



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

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

WebmasterWorld Senior Member mivox is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

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

10+ Year Member



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

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

WebmasterWorld Senior Member mivox is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

Featured Threads

Hot Threads This Week

Hot Threads This Month