I'm running a site test on my Drupal 7 site at gtmetrix.com. It's telling me that one of my issues is that my CSS external resources have small response bodies. It recommends inlining the response in HTML to reduce blocking of page rendering.

It then lists the CSS documents to which it's referring:

The following external resources have small response bodies. Inlining the response in HTML can reduce blocking of page rendering.

http://ccdrupal.dor.org/ should inline the following small resources. Here are a few:

http://ccdrupal.dor.org/modules/aggregator/aggregator.css?osmcgf
http://ccdrupal.dor.org/modules/comment/comment.css?osmcgf
http://ccdrupal.dor.org/modules/field/theme/field.css?osmcgf
http://ccdrupal.dor.org/modules/node/node.css?osmcgf
http://ccdrupal.dor.org/modules/poll/poll.css?osmcgf

I'm not quite sure what it's telling me to do. Maybe to move the CSS to my file because going and getting it externally takes a lot of time? Still, these are modules and I don't think there's much I can do there.

Any suggestions?

Thanks,
Brendan

Comments

Stefan Lehmann’s picture

Did you have a look at: admin/config/development/performance at all?

The aggregation options should definitely be checked on a production site. Also I'd check if you can enable page & block caching. All of that requires some testing as some functionality might be affected by these settings.

I like cookies!