aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authornytpu <[email protected]>2021-05-31 12:26:59 -0600
committerDrew DeVault <[email protected]>2021-05-31 17:05:38 -0600
commit988a00f1266ca3b9224235c504a1976f06f841cd (patch)
tree68221b8dd41c4744b27c9529b86133215b5d58f2 /go.mod
parentUpdate go-gemini dependency (diff)
downloadcapybara-988a00f1266ca3b9224235c504a1976f06f841cd.tar.xz
capybara-988a00f1266ca3b9224235c504a1976f06f841cd.zip
Add -e flag to place a stylesheet externally rather than loading it inline
By default, kineto loads a stylesheet given to -s from disk and places it inline with the HTML in a <style>...</style> block. This patch adds a -e flag to load a stylesheet externally. When the -e flag is passed with a URI (relative or absolute), the given link is placed in the href of a <link rel="stylesheet"...> tag. This helps facilitate caching which can *significantly* reduce request overhead, particularly when the stylesheet is large (>= the size of the page content). The given URI is not validated, and if it is invalid the browser will 404 when requesting it and the page will have no style.
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions