Skip to content
Permalink
Browse files

[Performance] Loads critical.css inline, async loads all.css.

  • Loading branch information
ashfurrow committed Sep 7, 2015
1 parent af75368 commit 22eb6cb5d05e2aceb698c7e2ce5021272b7d1055
Showing with 759 additions and 1 deletion.
  1. +1 −0 Gemfile
  2. +2 −0 Gemfile.lock
  3. +1 −0 config.rb
  4. +749 −0 source/css/critical.css
  5. +6 −1 source/layouts/_htmlhead.haml
@@ -6,6 +6,7 @@ gem 'middleman-blog'
gem 'middleman-s3_sync'
gem 'middleman-cdn'
gem 'middleman-syntax'
gem 'middleman-inliner'
gem 'redcarpet'
gem 'liquid'
gem 'nokogiri'
@@ -224,6 +224,7 @@ GEM
rack (>= 1.4.5, < 2.0)
thor (>= 0.15.2, < 2.0)
tilt (~> 1.4.1, < 2.0)
middleman-inliner (1.0.1)
middleman-s3_sync (3.0.47)
ansi (~> 1.5.0)
fog-aws (>= 0.1.1)
@@ -319,6 +320,7 @@ DEPENDENCIES
middleman
middleman-blog
middleman-cdn
middleman-inliner
middleman-s3_sync
middleman-syntax
nokogiri
@@ -13,6 +13,7 @@
set :relative_links, true

activate :syntax
activate :inliner

activate :blog do |blog|
# This will add a prefix to all links, template references and source paths

0 comments on commit 22eb6cb

Please sign in to comment.
You can’t perform that action at this time.