Created
February 19, 2014 18:32
-
-
Save Munter/9098429 to your computer and use it in GitHub Desktop.
Example configuration for telling a web server what web assets should be pushed using SPDY/HTTP2 push before the corresponding .html-file is served.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"index.html": [ | |
{ | |
"path": "js/jquery.js", | |
"etag": "123456" // MD5-sum of file or similar hash. Maybe the erver can make this up | |
}, | |
{ | |
"path": "js/underscore.js", | |
"etag": "123456" | |
} | |
], | |
"about.html": [ | |
{ | |
"path": "js/timeline.js" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment