Menu
Does anyone have some good tutorials for using javascript to prefetch a .js file for the next page (like if they’re in a category page, prefetch a .js needed for the product view). But i’d only like this to be done after the page is done, so i’m assuming an onload would be required. I’ve search google but found no definitive tutorials or ones that require a library like jquery to do the prefetching (oh the irony). Interestingly enough info on javascript prefetching is pretty scarce.
Thanks in advance.