actix / actix/actix-web

In-memory file cache in actix-files

Aperta
#2,000 6 commenti 7 reazioni 0 assegnatari Vedi su GitHub
A-files C-feature good-first-issue
Lingua principale
Rust
Stelle
24.8k
Fork
1.9k
Merge medio
23h 10m
PR unite (30g)
26

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.