cached-json-file: Locally cache a json file obtained by http
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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]
Properties
Versions | 0.1.0, 0.1.1, 0.1.1 |
---|---|
Change log | ChangeLog.md |
Dependencies | aeson, base (<5), bytestring, directory, filepath, http-query, time, xdg-basedir [details] |
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:14:52Z |
Modules
[Index] [Quick Jump]
- System
- Cached
Downloads
- cached-json-file-0.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees