This repo allows one to compare the different approaches for fetching Glimmer binary GBX data.
Made with kindness in California. ๐
- Install yarn
- Install Yarn Dependencies
- yarn install
- Run Locally
- yarn run start
- Compare and Contrast
- http://localhost:5001/element/index.html
- Uses a element to indicate the user-agent it should request the resource before fetching via JS.
- http://localhost:5001/header/index.html
- Uses Link: <$asset>; rel=preload; as=fetch header instead of an element.
- Note that Chrome 64.0.3271.0 will not reconsile this resource and retrieves it twice.
- https://localhost:5000/push
- Works as expected.
- http://localhost:5001/element/index.html