v0.12.1 - 2024-07-20
- Close cached response / request body by @k1LoW in #84
v0.12.0 - 2024-07-12
- Avoid getting request body as much as possible in the handler. by @k1LoW in #81
- Use
http.Read*
in testutil by @k1LoW in #83
v0.11.0 - 2024-06-14
- Use recorder instead of httptest.ResponseRecorder. by @k1LoW in #78
v0.10.0 - 2024-06-13
- If
rc.ErrShouldNotUseCache
, skip all caching processes. by @k1LoW in #76
v0.9.9 - 2024-06-13
- rc does not support websocket. by @k1LoW in #74
v0.9.8 - 2024-03-01
- Remember that the request may be nil by @k1LoW in #72
v0.9.7 - 2024-02-26
- It is desirable that there should be no content body in the response, but the proxy server cannot handle it, so it is used as a debug log. by @k1LoW in #70
v0.9.6 - 2024-02-22
- syscall.ECONNRESET and syscall.EPIPE are not errors by @k1LoW in #68
v0.9.5 - 2024-02-02
- Fix handling for errors "failed to write response body" by @k1LoW in #66
v0.9.4 - 2024-01-30
- Support for setting header names to mask by @k1LoW in #64
v0.9.3 - 2024-01-30
v0.9.2 - 2024-01-30
- Add isFinalStatusCode() by @k1LoW in #58
- Because many upstreams may return a body with 1xx/204/304 status codes. by @k1LoW in #60
v0.9.1 - 2024-01-12
- No request body is used for cache handling by default. by @k1LoW in #56
v0.9.0 - 2024-01-12
- If cache is not used, no Age header is given by @k1LoW in #54
- Keep and use requests unaffected by the next middleware. by @k1LoW in #53
v0.8.2 - 2024-01-11
- Fix badkey log by @k1LoW in #52
- Log more info by @k1LoW in #50
v0.8.1 - 2024-01-11
- Fix Set-Cookie handling by @k1LoW in #48
v0.8.0 - 2024-01-04
- Use req.Host only ( does not use req.URL.Host ) by @k1LoW in #46
v0.7.3 - 2024-01-04
- Use the Date header field value first. by @k1LoW in #44
v0.7.2 - 2023-12-22
- Revert "Add CacherHandler" by @k1LoW in #42
v0.7.1 - 2023-12-21
- Add CacherHandler by @k1LoW in #40
v0.7.0 - 2023-12-20
- Fix Cacher.Store signature by @k1LoW in #36
- Support extended rules like proxy_cache_valid of NGINX by @k1LoW in #38
- Does not store responses with Set-Cookie headers by default, similar to NGINX by @k1LoW in #39
v0.6.1 - 2023-12-18
- Add license for RFC 9111 by @k1LoW in #34
v0.6.0 - 2023-12-18
- Support logger (log/slog.Logger) by @k1LoW in #33
v0.5.2 - 2023-12-15
v0.5.1 - 2023-12-15
- For SNI compatibility, also compare req.Host by @k1LoW in #29
v0.5.0 - 2023-12-15
- Support Age header by @k1LoW in #28
- Add options by @k1LoW in #24
- Fix no-cache decision logic by @k1LoW in #22
- Fix URL of comment by @k1LoW in #25
- Although RFC 9111 does not explicitly define this, in general cacheable methods are GET and HEAD, so the default should be GET and HEAD. by @k1LoW in #26
- Although not explicitly specified in RFC 9111, allow GET, HEAD, OPTIONS, and TRACE methods, which are specified as safe methods in RFC 9110. by @k1LoW in #27
v0.4.1 - 2023-12-14
- Rename ErrDoNotUseCache to ErrShouldNotUseCache by @k1LoW in #19
- Rename do to originRequester by @k1LoW in #20
v0.4.0 - 2023-12-14
- Change the interface to be ready for RFC 9111 by @k1LoW in #18
- Fix benchmark condition by @k1LoW in #13
- Use rcutil v0.5.0 by @k1LoW in #14
- Add gostyle-action by @k1LoW in #15
- Run 2 benchmarks on same runner by @k1LoW in #16
v0.3.1 - 2023-09-05
- Change error by @k1LoW in #10
v0.3.0 - 2023-09-05
- Separate
rcutil
package by @k1LoW in #8
v0.2.0 - 2023-09-05
- Create
rcutil
package by @k1LoW in #7
v0.1.1 - 2023-09-04
- Add Usage by @k1LoW in #5