An Interest In:
Web News this Week
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
- March 26, 2024
- March 25, 2024
- March 24, 2024
November 28, 2016 03:16 pm GMT
Original Link: https://css-tricks.com/cache-aware-server-push/
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:
Tweet
View Full Article