Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Status Code #180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Performance/performance-ch.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ DNS 解析也是需要时间的,可以通过预解析的方式来预先获得

### 强缓存

实现强缓存可以通过两种响应头实现:`Expires` 和 `Cache-Control` 。强缓存表示在缓存期间不需要请求,`state code` 为 200
实现强缓存可以通过两种响应头实现:`Expires` 和 `Cache-Control` 。强缓存表示在缓存期间不需要请求,`Status Code` 为 200

```js
Expires: Wed, 22 Oct 2018 08:41:00 GMT
Expand Down
2 changes: 1 addition & 1 deletion Performance/performance-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Browser cache strategy is usually divided into two types: strong cache and negot

### Strong cache

Implementing strong caching can be achieved with two response headers: `Expires` and `Cache-Control`. Strong cache means that no request is required during caching, the `state code` is 200.
Implementing strong caching can be achieved with two response headers: `Expires` and `Cache-Control`. Strong cache means that no request is required during caching, the `Status Code` is 200.

```js
Expires: Wed, 22 Oct 2018 08:41:00 GMT
Expand Down