cached-json-file: Locally cache a json file obtained by http
A small library for caching a slow-changing remote json file in a specified directory (under "~/.cache/"). When the json is requested and the cache file is still fresh enough it is read directly from the local cache, otherwise the cached file is refreshed first.
[Skip to Readme]
Downloads
- cached-json-file-0.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.1.0, 0.1.1 |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | aeson, base (<5), bytestring, directory, filepath, http-query, time, xdg-basedir [details] |
| Tested with | ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.4, ghc ==8.10.5, ghc ==9.0.1 |
| License | BSD-3-Clause |
| Copyright | 2021 Jens Petersen <juhpetersen@gmail.com> |
| Author | Jens Petersen <juhpetersen@gmail.com> |
| Maintainer | Jens Petersen <juhpetersen@gmail.com> |
| Category | Network |
| Home page | https://github.com/juhp/cached-json-file |
| Bug tracker | https://github.com/juhp/cached-json-file/issues |
| Source repo | head: git clone https://github.com/juhp/cached-json-file.git |
| Uploaded | by JensPetersen at 2021-12-27T10:16:10Z |
| Distributions | Fedora:0.1.1, LTSHaskell:0.1.1, NixOS:0.1.1, Stackage:0.1.1 |
| Reverse Dependencies | 2 direct, 0 indirect [details] |
| Downloads | 769 total (1 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2021-12-27 [all 1 reports] |