Skip to main content

update_ssr_cache_settings

Function update_ssr_cache_settings 

Source
pub async fn update_ssr_cache_settings(
    max_page_bytes: u64,
    edge_ttl_secs: u64,
) -> Result<SsrCacheSettings, ApiError>
Expand description

更新 SSR 页面缓存配置。

字段会被 clamp 后写入 DB。HTML 缓存首次使用时读取,修改后需重启进程生效。