Commit Graph

14 Commits

Author SHA1 Message Date
curben 73a6301ab2
fix(CSP): no longer load directly from cdn
- thanks for netlify reverse proxy
2019-09-03 17:42:21 +01:00
curben 7dc55833fb
feat(assets): Statically cdn 2019-08-26 12:32:53 +09:30
curben c416aedb2d
feat(cloudinary): use Staticaly CDN 2019-08-26 06:18:09 +09:30
curben b53dda5771
feat: enable cache
* https://nullsweep.com/http-security-headers-a-complete-guide/
* https://codewithhugo.com/enable-cdn-netlify/
2019-07-21 13:22:13 +09:30
curben a5d1791b14 feat(search): replace gitlab search with duckduckgo
todo: algolia
2019-06-07 18:39:51 +09:30
curben d79e42d960 feat: add Content-Language to HTTP header
https://www.w3.org/International/questions/qa-http-and-lang
https://www.w3.org/International/questions/qa-text-processing-vs-metadata
2019-05-27 11:58:48 +09:30
curben 00fbcce468 refactor: unify HTTP header settings into _headers 2019-05-26 15:09:27 +09:30
curben 3f0d87f8aa Remove brotli header
netlify doesn't seem to support it
Revert d15c2d2c7b and 60de0c28c4
2018-10-02 11:38:35 +09:30
curben d15c2d2c7b Add content-type header
so browser knows whether it's js or css
2018-10-02 11:29:54 +09:30
curben 60de0c28c4 Add redirect rule for js and css
set their content-encoding header as br (for brotli compression)
2018-10-02 10:50:05 +09:30
curben 67448d00bb Remove content-encoding header
netlify doesn't seem to support brotli compression
2018-10-01 20:27:40 +09:30
curben baf334c4fd Add Netlify header file
A separate header file is necessary, even though header rule exists in netlify.toml
Revert aab11bcf14
2018-10-01 14:56:20 +09:30
curben aab11bcf14 Merge _headers into netlify.toml 2018-10-01 10:53:20 +09:30
curben 98e6826ade Add custom header config for netlify
https://www.netlify.com/docs/headers-and-basic-auth/
2018-09-30 18:32:26 +09:30