Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Commit 7b6bb9e

Browse files
authored
chore: resolve readme typos
1 parent ab33309 commit 7b6bb9e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,16 @@ if err != nil {
8888
```
8989

9090
### About RFC 7234 Compliance
91-
You can disable/enable the RFC Compliance as you want. If RFC 7234 is too complex for you, you just can disable it by set the RFCComliance parameters to false
91+
You can disable/enable the RFC Compliance as you want. If RFC 7234 is too complex for you, you can just disable it by set the RFCCompliance parameter to false
9292

9393
```go
9494
_, err := httpcache.NewWithInmemoryCache(client, false, time.Second*60)
9595
// or
9696
_, err := httpcache.NewWithCustomStorageCache(client,false, mystorage.NewCustomInMemStorage())
9797
```
9898

99+
The downside of disabling the RFC Compliance, **All the response/request will be cached automatically**. Do with caution.
100+
99101
### TODOs
100102
- See the [issues](https://github.com/bxcodec/httpcache/issues)
101103

0 commit comments

Comments
 (0)