https://github.com/wieni/wmpage_cache_redis
A Redis cache storage for wieni/wmpage_cache
https://github.com/wieni/wmpage_cache_redis
cache-storage drupal-8 drupal-9 drupal-module redis wmpage-cache wmpage-cache-storage
Last synced: 3 months ago
JSON representation
A Redis cache storage for wieni/wmpage_cache
- Host: GitHub
- URL: https://github.com/wieni/wmpage_cache_redis
- Owner: wieni
- License: mit
- Created: 2021-07-13T06:49:36.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-30T11:13:08.000Z (almost 3 years ago)
- Last Synced: 2024-12-27T14:25:40.793Z (5 months ago)
- Topics: cache-storage, drupal-8, drupal-9, drupal-module, redis, wmpage-cache, wmpage-cache-storage
- Language: PHP
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
wmpage_cache_redis
======================[](https://packagist.org/packages/wieni/wmpage_cache_redis)
[](https://packagist.org/packages/wieni/wmpage_cache_redis)
[](https://packagist.org/packages/wieni/wmpage_cache_redis)> A Redis cache storage for [wieni/wmpage_cache](https://github.com/wieni/wmpage_cache)
## Installation
This package requires PHP 7.1, PhpRedis and Drupal 8 or higher. It can be
installed using Composer:```bash
composer require wieni/wmpage_cache_redis
```To enable this cache storage, change the `wmpage_cache.storage` container parameter:
```yaml
parameters:
wmpage_cache.storage: wmpage_cache.storage.rediswmpage_cache.redis.prefix: 'wmpage_cache:'
```Make sure to also set the host & base in `settings.php`.
```php
$settings['wmpage_cache.redis.connection']['host'] = '127.0.0.1';
$settings['wmpage_cache.redis.connection']['base'] = '0';
```## Changelog
All notable changes to this project will be documented in the
[CHANGELOG](CHANGELOG.md) file.## Security
If you discover any security-related issues, please email
[[email protected]](mailto:[email protected]) instead of using the issue
tracker.## License
Distributed under the MIT License. See the [LICENSE](LICENSE) file
for more information.