Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
November 28, 2016 03:16 pm GMT

Creating a Cache-aware HTTP/2 Server Push Mechanism

If you've been reading at all about HTTP/2, then you've likely heard about server push. If not, here's the gist of it: Server push lets you preemptively send an asset when the client requests another. To use it, you need an HTTP/2-capable web server, and then you just set a Link header for the asset you want to push like so:

Link: </css/styles.css>; rel=preload

If this rule is set as a response header for an HTML resource, say index.html, …


Creating a Cache-aware HTTP/2 Server Push Mechanism is a post from CSS-Tricks


Original Link: https://css-tricks.com/cache-aware-server-push/

Share this article:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks