Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Relative URL & Cache 1

Status
Not open for further replies.

jammer1221

Programmer
Jul 30, 2003
352
US
Hey all,

If I reference a JS or image file in page1.html like this
Code:
<script src="ext.js"></script>
and then in dir/otherpage.html I reference the same js file e.g.
Code:
<script src="../ext.js"></script>
Will it be in the browsers cache? What if I reference both files with an absolute path?

Thanks,

Matt
 
That's kinda of what I thought, but wanted to confirm.

Thanks for your reply!

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top