Commit Graph

28 Commits

Author SHA1 Message Date
MDLeom b75903616a
ci(netlify): enable hsts preload 2020-08-07 06:29:45 +00:00
MDLeom 91ce67e0ac
ci(netlify): set 1-day cache for *.xml 2020-08-07 06:27:25 +00:00
MDLeom 327deb4781
ci(netlify): increase *.svg cache to 1-week 2020-08-05 08:31:56 +00:00
MDLeom 5ffaaec0dc
ci(netlify): increase *.css cache to 1-week 2020-08-05 08:17:06 +00:00
MDLeom 6b277b6785
style(headers): sort alphabetically 2020-05-15 03:42:46 +01:00
MDLeom f64241723c
fix(security-header): allow form to ddg .onion 2020-03-09 02:24:12 +00:00
curben 98d2ed587e fix: set language to en-GB 2019-10-27 03:30:36 +00:00
curben f43f440a3e
fix(http_header): restrict more Feature-Policy
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy
2019-10-17 01:27:05 +01:00
curben 5e01605ef1
fix(headers): cannot override netlify Server header 2019-09-09 07:17:50 +01:00
curben af0c2fef20
fix(headers): remove Server header 2019-09-09 05:31:47 +01:00
curben ae63f155fa
fix(headers): remove Server header 2019-09-09 05:24:41 +01:00
curben f02d918834
fix(header): cache gif 2019-09-09 02:51:46 +01:00
curben d933ca94b1
fix(header): reduce css cache to one day 2019-09-09 02:50:04 +01:00
curben ce7c299ff1
fix(headers): remove Server header 2019-09-09 01:50:53 +01:00
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