Skip to content

Commit

Permalink
Bundles is not the way of the future
Browse files Browse the repository at this point in the history
  • Loading branch information
da2x committed Jun 9, 2015
1 parent 0906bc4 commit c52170b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nikola/conf.py.in
Expand Up @@ -892,7 +892,9 @@ UNSLUGIFY_TITLES = True
# # 'creator': '@username', # Username for the content creator / author.
# }

# If webassets is installed, bundle JS and CSS to make site loading faster
# If webassets is installed, bundle JS and CSS into single files to make
# site loading faster in a HTTP/1.1 environment but is not recommended for
# HTTP/2.0 when caching is used. Defaults to True.
# USE_BUNDLES = True

# Plugins you don't want to use. Be careful :-)
Expand Down

3 comments on commit c52170b

@Kwpolska
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How many HTTP/2.0 servers are out there in the wild?

@ralsina
Copy link
Member

@ralsina ralsina commented on c52170b Jun 9, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the future it's full of them :-)

@da2x
Copy link
Contributor Author

@da2x da2x commented on c52170b Jun 9, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIS in Windows 10 and OpenLiteSpeed support it now. Akamai too. nginx expect to have it ready this year. Apache is slower moving, but there will be third-party modules. Middle-layer services like CloudFlare would be stupid not to offer support while it’s still a hot new. That will drive adoption fast. My guess is that adaptation will be fast because of the drop-in-replacement performance benefits to pretty much any website and the top browsers (sans Safari and IE) already support it.

Supported clients include Microsoft Edge, Firefox, and Chromium-based.

Anyway, we should not say bundles is faster when this will not be the case with HTTP/2 . The ‘new fast” is smaller chucks when you need them delivered by server-push (no round-trip) instead of larger blobs.

Please sign in to comment.