Ben Cherry 1/29/2010

Preloading JS and CSS as Print Stylesheets

Read Original

The article explores a method for preloading JavaScript and CSS files by using a temporary <link> tag with rel="stylesheet" and media="print" to cache resources in the background, significantly reducing initial page load times. It details the development of the technique, its cross-browser challenges, and a critical update warning that it can cause issues in Chrome, making it no longer recommended. The author promises a follow-up on alternative solutions.

Preloading JS and CSS as Print Stylesheets

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser