actix / actix/actix-web

In-memory file cache in actix-files

Đang mở
#2,000 6 bình luận 7 reaction 0 người được giao Xem trên GitHub
A-files C-feature good-first-issue
Ngôn ngữ chính
Rust
Star
24.8k
Fork
1.9k
Merge trung bình
23 giờ 10 phút
Pull request đã merge (30 ngày)
26

Mô tả

It would be nice if there was a feature in actix-files that allows reading static files into memory at startup and serving them from there, instead of reading them from disk. Currently, [actix-web-static-files](https://github.com/kilork/actix-web-static-files) allows to read static files from memory, but it embeds static files into the executable, instead of loading them into memory at runtime. There's probably no need to refresh the files (re-read them from disk) once they're loaded into memory, as static files are rarely updated.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.