cached-file-server v0.3.0
Cached Static File Server
Given a directory, this application reads all file contents into memory and then serves them up over HTTP when requested.
Note:
This application reads all the files in the directory into memory, so if you're serving a lot of large files, it will use a large amount of memory.
Installation
Download the static binary, or install crystal, download the source code, and run crystal build src/run.cr
Usage
Usage advice is offered by the --help
command-line option.
Development
Improvements and advice are greatly welcome. Please open a pull request or issue with any way to make this application more effective and fast!
Contributing
- Fork it (https://github.com/dscottboggs/cached_static_server/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- D. Scott Boggs - creator and maintainer
Repository
cached-file-server
Owner
Statistic
- 7
- 0
- 0
- 0
- 1
- almost 5 years ago
- January 7, 2020
License
MIT License
Links
Synced at
Sun, 24 Nov 2024 18:25:35 GMT
Languages