mirror of
https://github.com/2234839/web-font.git
synced 2026-11-30 06:04:23 +08:00
- FontCache 条目带 last_used,命中刷新;后台线程每 60s 扫描卸载空闲条目 - 默认 1800s,置 0 关闭;正在写出的响应持 Arc 快照不受影响 - 服务器 1.7G 内存下冷门大字体不再长期驻留,代价是再次访问重付一次读盘+解析
- FontCache 条目带 last_used,命中刷新;后台线程每 60s 扫描卸载空闲条目 - 默认 1800s,置 0 关闭;正在写出的响应持 Arc 快照不受影响 - 服务器 1.7G 内存下冷门大字体不再长期驻留,代价是再次访问重付一次读盘+解析