marten_redis_cache
Version, currently 0.1.03 versions
- 0.1.2latestApr 18, 2025
- 0.1.1not indexedAug 2, 2026
- 0.1.0not indexedAug 2, 2026
github.com/martenframework/marten-redis-cache
A Redis cache store for the Marten web framework.
6 stars
0 dependents
License: MIT
Nothing has been indexed for 0.1.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
marten_redis_cache:
github: martenframework/marten-redis-cache
version: ~> 0.1.0Then run:
shards installshard.yml
No shard.yml has been indexed for 0.1.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
# Marten Redis Cache
[](https://github.com/martenframework/marten-redis-cache/actions)
[](https://github.com/martenframework/marten-redis-cache/actions)
**Marten Redis Cache** provides a [Redis](https://redis.io) cache store that can be used with Marten web framework's [cache system](https://martenframework.com/docs/caching).
## Installation
Simply add the following entry to your project's `shard.yml`:
```yaml
dependencies:
marten_redis_cache:
github: martenframework/marten-redis-cache
```
And run `shards install` afterward.
## Configuration
First, add the following requirement to your project's `src/project.cr` file:
```crystal
require "marten_redis_cache"
```
Then you can configure your project to use the Redis cache store by setting the corresponding configuration option as follows:
```crystal
Marten.configure do |config|
config.cache_store = MartenRedisCache::Store.new(uri: "redis:///")
end
```
The `uri` argument is optional: unless specified, the client will attempt to connect to Redis on `localhost` and port `6379`. It should be noted that this cache store also supports all the existing initialization options in addition to the `uri` argument (eg. `namespace`, `version`, `expires_in`, etc). Please refer to the [cache system documentation](https://martenframework.com/docs/caching) to learn more about Marten's caching framework.
## Authors
Morgan Aubert ([@ellmetha](https://github.com/ellmetha)) and
[contributors](https://github.com/martenframework/marten-redis-cache/contributors).
## License
MIT. See ``LICENSE`` for more details.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.0- Tagged
- Aug 2, 2026
- Commit
a6e843ee7824- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/martenframework/marten-redis-cache
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 13, 2026
- Versions
- 3