Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #27700
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Google developers pagespeed insights - can't optimize css |
| Date | 2015-05-16 21:32 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <mj8d1f$f1c$2@dont-email.me> (permalink) |
| References | <f421b972-432d-40b7-bed1-d7f496121325@googlegroups.com> <mj5vkv$8nt$1@solani.org> <a74f7a2d-8f45-4895-9c28-463622048083@googlegroups.com> |
On Fri, 15 May 2015 16:49:07 -0700, lazar wrote:
> Here's what I tried:
>
> $(window).load(function() {
> $('head').append('<link rel="stylesheet" href="style.css" />');
> })
First you need to understand what is meant by a blocking resource.
Then you need to decide if you actually want to worry about it.
CSS is a blocking resource, because the page can not be rendered until
the CSS has loaded.
One way to avoid this issue is to include the CSS in style elements
within the document head, and we are now off topic for a javascript
newsgroup.
--
Denis McMahon, denismfmcmahon@gmail.com
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Google developers pagespeed insights - can't optimize css lazar@convexicon.com - 2015-05-15 07:16 -0700
Re: Google developers pagespeed insights - can't optimize css "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-05-15 16:55 +0200
Re: Google developers pagespeed insights - can't optimize css lazar@convexicon.com - 2015-05-15 15:10 -0700
Re: Google developers pagespeed insights - can't optimize css "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-05-16 00:52 +0200
Re: Google developers pagespeed insights - can't optimize css "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-05-16 01:31 +0200
Re: Google developers pagespeed insights - can't optimize css lazar@convexicon.com - 2015-05-15 16:49 -0700
Re: Google developers pagespeed insights - can't optimize css "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-05-16 02:03 +0200
Re: Google developers pagespeed insights - can't optimize css Denis McMahon <denismfmcmahon@gmail.com> - 2015-05-16 21:32 +0000
Re: Google developers pagespeed insights - can't optimize css Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-05-15 23:12 -0300
Re: Google developers pagespeed insights - can't optimize css Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-05-16 09:59 +0200
csiph-web