Skip to content

Commit

Permalink
feat: add security chapter to 2022/zh-CN directory (#3278)
Browse files Browse the repository at this point in the history
* feat: add security chapter to 2022/zh-CN directory

* feat: add security chapter to chinese

* feat: add security chapter to chinese

* Align line numbers

* Fix file generation error

* Fix linting errors

* Add Contributor profile

* Remove untranslated file

* Add avatar

* Remove /en-US/ from MDN links as they redirect

* Fix links

* Fix links

* Fix linting

* fix: translate error.

Co-authored-by: Barry Pollard <[email protected]>
  • Loading branch information
Levix and tunetheweb authored Nov 29, 2022
1 parent 7614a87 commit 23164f4
Show file tree
Hide file tree
Showing 3 changed files with 1,288 additions and 2 deletions.
8 changes: 8 additions & 0 deletions src/config/2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -1281,6 +1281,14 @@
],
"github":"yokoka"
},
"Levix":{
"name": "Zhiwei Li",
"teams":[
"translators"
],
"avatar_url": "65117011",
"github":"Levix"
},
"luckybai": {
"name": "Zongchao Bai",
"teams": [
Expand Down
2 changes: 0 additions & 2 deletions src/content/en/2022/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ There are two different ways to set the time when a cookie is deleted: `Max-Age`

Unlike last year, where we saw that the median for `Max-Age` was 365 days but the median for `Expires` was 180 days, this year it's around 365 days for both. Hence the median for real maximum age has gone up from 180 days to 365 days this year. Even though the `Max-Age` is 729 days and `Expires` is 730 days in the 90th percentile, Chrome has been planning to put a <a hreflang="en" href="https://chromestatus.com/feature/4887741241229312">cap of 400 days</a> for both `Max-Age` and `Expires`.


<figure>
<table>
<thead>
Expand Down Expand Up @@ -543,7 +542,6 @@ Subresource integrity is specified as a base64 string of a computed hash of one

Consistent with last year's report, SHA384 continues to demonstrate the majority of SRI hash types observed between all available hash functions.


CDNs are no strangers to Subresource Integrity and provide secure defaults to their consumers by including a Subresource Integrity value as part of their URL references for content to be served on the page.

<figure>
Expand Down
Loading

0 comments on commit 23164f4

Please sign in to comment.