wearethoughtfox / amnesty-facebook

0 stars 0 forks source link

PERF: possibly include everything inline #41

Closed pauldwaite closed 7 years ago

pauldwaite commented 7 years ago

As we’re a single page app, if we’re not expecting the code to change regularly, we could include all assets (CSS, JavaScripts, images) inline on the index page.

This reduces the number of HTTP requests (which is beneficial assuming we’re serving over HTTP 1; possibly not if we’re serving over HTTP 2), and may result in better compression.

See also #40.

robertocarroll commented 7 years ago

Closing this one unless you have something to add?

pauldwaite commented 7 years ago

Nope, all good.