{"id":19515584,"url":"https://github.com/naxvog/wpr-redis","last_synced_at":"2025-07-20T14:37:32.415Z","repository":{"id":71475278,"uuid":"196474488","full_name":"naxvog/wpr-redis","owner":"naxvog","description":"Addon to WP Rocket that allows storage of cache files in Redis.","archived":false,"fork":false,"pushed_at":"2021-05-30T09:39:08.000Z","size":326,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-26T06:39:24.661Z","etag":null,"topics":["redis","wordpress-plugin","wp-rocket"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/naxvog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-11T22:52:42.000Z","updated_at":"2022-08-15T10:31:52.000Z","dependencies_parsed_at":"2023-02-24T10:45:13.240Z","dependency_job_id":null,"html_url":"https://github.com/naxvog/wpr-redis","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/naxvog/wpr-redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naxvog%2Fwpr-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naxvog%2Fwpr-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naxvog%2Fwpr-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naxvog%2Fwpr-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naxvog","download_url":"https://codeload.github.com/naxvog/wpr-redis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naxvog%2Fwpr-redis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266142123,"owners_count":23883038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["redis","wordpress-plugin","wp-rocket"],"created_at":"2024-11-10T23:40:07.017Z","updated_at":"2025-07-20T14:37:32.385Z","avatar_url":"https://github.com/naxvog.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WPR-Redis\nThis plugin enables WP Rocket to store its generated cache files in the Redis database instead of the default filesystem storage.\n\n## Requirements ##\n* WP Rocket WordPress Plugin (tested up to v3.5.5.1)\n* Redis Server\n* PHP 7+\n\n## Constant Configuration ##\nYou may use the following constants to configure the plugin. All constants will take preference over the defined settings if there are any.\n\n* `WPR_REDIS_SCHEME` Needs to be set to `unix` to use a unix socket to connect.\n* `WPR_REDIS_HOST` For TCP connections this will be the IP or hostname of the server. If you are using a socket connection this will be the socket path. Default: `localhost`\n* `WPR_REDIS_PORT` Port to connect to the server using TCP. Default `6379`\n* `WPR_REDIS_DB` The Database to be used. Default `0`\n* `WPR_REDIS_PWD` Redis server password if needed.\n* `WPR_REDIS_SALT` If set all stored keys will be prefixed by this salt. To further differentiate all keys will pre prefixed by their respective database table prefix as well.\n\n## Known Issues ##\n* Connection to any kind of Redis cluster is currently not supported\n* If you are using nginx and if you can alter its configuration the [Rocket-Nginx](https://github.com/SatelliteWP/rocket-nginx) configuration seems to be faster than this (tested using a NVME SSD equipped server)\n\n## Disclaimer ##\nThis plugin uses WP Rocket's namespacing to alter its file modification functions as well as WP Rockets `advanced-cache.php` file content filter to register itself. Any API changes from the side of WP Rocket might break this plugin's functionality so please report any issues you might have in the GitHub issue tracker.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaxvog%2Fwpr-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaxvog%2Fwpr-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaxvog%2Fwpr-redis/lists"}