website: use heavy HTTP caching
This will hopefully help a bit for #633.
This commit is contained in:
parent
b89dc72fc4
commit
89affa49fe
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@ favicon:
|
|||
node gh-badge.js '' '' '#bada55' .png > favicon.png
|
||||
|
||||
website:
|
||||
cat try.html | sed "s,\(<img src='\)/,\1https://img.shields.io/," \
|
||||
cat try.html | sed "s,\(<img src='\)\(/[^']\+\)',\1https://img.shields.io\2?maxAge=2592000'," \
|
||||
| sed "s,<span id='imgUrlPrefix'>,&https://img.shields.io," \
|
||||
| sed "s,var origin = '';,var origin = 'https://img.shields.io';," \
|
||||
| sed "s,<style>,<!-- WARNING: THIS FILE WAS GENERATED FROM try.html -->\n<style>," > index.html
|
||||
|
|
410
index.html
410
index.html
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user