actix / actix/actix-web

In-memory file cache in actix-files

Offen
#2,000 6 Kommentare 7 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
A-files C-feature good-first-issue
Vorherrschende Sprache
Rust
Sterne
24.8k
Forks
1.9k
Ø Merge
23 Std. 10 Min.
Gemergte PRs (30 T.)
26

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.