4 ms·
Unfortunately this doesn't meet my use case (which they list as an intended use case): serving static assets over http. I currently use an in-memory cache witho
by __s 5y ago
Unfortunately this doesn't meet my use case (which they list as an intended use case): serving static assets over http. I currently use an in-memory cache without eviction. It doesn't meet my requirements because I store the in-memory content precompressed
https://github.com/serprex/openEtG/blob/master/src/rs/server/src/handleget.rs https://github.com/serprex/openEtG/blob/master/src/rs/server...
edit: seems it can. Nice
- jagged-chisel 5y agoI think I don't understand the problem. Precompressed files are still files and can be cached.
- WJW 5y agoI think what they mean is that they want the file on disk to be uncompressed but the file in memory to be compressed.
- haydnv 5y agoI think if you call your precompression function in FileLoad::load it should do what you need--please file an issue if this is not the case: https://github.com/haydnv/freqfs/issues https://github.com/haydnv/freqfs/issues