docs+deps: preparing v0.6.0
This commit is contained in:
parent
119637f24c
commit
9bbd8fc0db
4 changed files with 9 additions and 7 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
## 0.6.0 (unreleased)
|
## 0.7.0 (unreleased)
|
||||||
|
|
||||||
|
## 0.6.0
|
||||||
|
|
||||||
### Improvement
|
### Improvement
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -281,9 +281,9 @@ tls = { https_redirection = true, tls_cert_path = './server.crt', tls_cert_key_p
|
||||||
|
|
||||||
However, currently we have a limitation on HTTP/3 support for applications that enables client authentication. If an application is set with client authentication, HTTP/3 doesn't work for the application.
|
However, currently we have a limitation on HTTP/3 support for applications that enables client authentication. If an application is set with client authentication, HTTP/3 doesn't work for the application.
|
||||||
|
|
||||||
### Hybrid Caching Feature Using File and On-Memory
|
### Hybrid Caching Feature with Temporary File and On-Memory Cache
|
||||||
|
|
||||||
If `[experimental.cache]` is specified, you can leverage the local caching feature using temporary files and on-memory objects. Note that `max_cache_each_size` must be larger or equal to `max_cache_each_size_on_memory`.
|
If `[experimental.cache]` is specified in `config.toml`, you can leverage the local caching feature using temporary files and on-memory objects. An example configuration is as follows.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# If this specified, file cache feature is enabled
|
# If this specified, file cache feature is enabled
|
||||||
|
|
@ -294,7 +294,7 @@ max_cache_each_size = 65535 # optional. default is 64k
|
||||||
max_cache_each_size_on_memory = 4096 # optional. default is 4k if 0, it is always file cache.
|
max_cache_each_size_on_memory = 4096 # optional. default is 4k if 0, it is always file cache.
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that once `rpxy` restarts or the config is updated, the cache is totally eliminated not only from the on-memory table but also from the file system.
|
A *storable* (in the context of an HTTP message) response is stored if its size is less than or equal to `max_cache_each_size` in bytes. If it is also less than or equal to `max_cache_each_size_on_memory`, it is stored as an on-memory object. Otherwise, it is stored as a temporary file. Note that `max_cache_each_size` must be larger or equal to `max_cache_each_size_on_memory`. Also note that once `rpxy` restarts or the config is updated, the cache is totally eliminated not only from the on-memory table but also from the file system.
|
||||||
|
|
||||||
## TIPS
|
## TIPS
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ rpxy-lib = { path = "../rpxy-lib/", default-features = false, features = [
|
||||||
|
|
||||||
anyhow = "1.0.75"
|
anyhow = "1.0.75"
|
||||||
rustc-hash = "1.1.0"
|
rustc-hash = "1.1.0"
|
||||||
serde = { version = "1.0.185", default-features = false, features = ["derive"] }
|
serde = { version = "1.0.186", default-features = false, features = ["derive"] }
|
||||||
derive_builder = "0.12.0"
|
derive_builder = "0.12.0"
|
||||||
tokio = { version = "1.32.0", default-features = false, features = [
|
tokio = { version = "1.32.0", default-features = false, features = [
|
||||||
"net",
|
"net",
|
||||||
|
|
@ -38,7 +38,7 @@ rustls-pemfile = "1.0.3"
|
||||||
mimalloc = { version = "*", default-features = false }
|
mimalloc = { version = "*", default-features = false }
|
||||||
|
|
||||||
# config
|
# config
|
||||||
clap = { version = "4.3.23", features = ["std", "cargo", "wrap_help"] }
|
clap = { version = "4.3.24", features = ["std", "cargo", "wrap_help"] }
|
||||||
toml = { version = "0.7.6", default-features = false, features = ["parse"] }
|
toml = { version = "0.7.6", default-features = false, features = ["parse"] }
|
||||||
hot_reload = "0.1.4"
|
hot_reload = "0.1.4"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 5cca3063f6f7747dcd9ec6e080ee48dcb5cfc4a7
|
Subproject commit 7f260292848a93d615eb43e6e88114a97e64daf1
|
||||||
Loading…
Add table
Add a link
Reference in a new issue