To push, or not to push?!

A presentation at JSConf EU 2018 in in Berlin, Germany by Patrick Hamann

Fastly

Fastly

Why?

Why?

HTTP/2 will solve this

HTTP/2 will solve this

Resource loading in the  browser is hard.

Resource loading in the browser is hard.

How can we load our  resources most efficiently?

How can we load our resources most efficiently?

What are my critical resources?

What are my critical resources?

A good loading strategy

A good loading strategy

Preload

Preload

Server push

Server push

So how can I push?

So how can I push?

Before/after with push

Before/after with push

Server push benefits

Server push benefits

Is indicating push via the HTML response too late?

Is indicating push via the HTML response too late?

Async push

Async push

Before/after with async push

Before/after with async push

What about the repeat view?

What about the repeat view?

So what's the problem?

So what's the problem?

Push cache semantics

Push cache semantics

The future

The future

Cache digests

Cache digests

103 Early hints

103 Early hints

Priority hints

Priority hints

Closing

Closing

HTTP/2 doesn’t solve everything

HTTP/2 doesn’t solve everything

Resource loading is hard.

Resource loading is hard.

Thank you!

Thank you!

HTTP/2 server push gives us the ability to proactively send assets to a browser without waiting for them to be requested. Sounds great, right?!

However, is this new mechanism really the silver bullet we all thought it was? Is it time to abandon our build systems and stop bundling our assets entirely? Or are lack of server support and browser inconsistencies holding us back? Lastly, what are new specifications such as cache digests and the 103 status code doing to improve the situation?

Using new research and real-world examples, this talk will take a deep dive into HTTP/2 server push, exploring the current and future best practices for loading assets in the browser. Giving us the knowledge to make better decisions when loading our web pages and ultimately leading to faster, more resilient user experiences.

Video

Buzz and feedback

Here’s what was said about this presentation on Twitter.