Re:Ask HN: Include JavaScript via PHP or HTML?
by there on Wednesday March 10, 2010 @11:28PM
(#1182968)
the only downside would be if you are reusing the same javascript code on another page, this would cause the browser to download it again each time. if it's in a separate js file, the browser will (probably) cache it and make for a shorter download of each subsequent page.
[ Parent
| on HN ]
There are no comments on this comment yet.