![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
apostrophe-caches-redis
Advanced tools
This module enhances apostrophe-caches
, the standard caching mechanism of Apostrophe, to use Redis rather than MongoDB.
To use it, first npm install it in your project:
npm install --save apostrophe-caches-redis
Then configure your modules like this:
'apostrophe-caches-redis': {
// *NO* OPTIONS HERE
},
'apostrophe-caches': {
// OPTIONS GO HERE - we are actually "improving" this standard module
redis: {
// options for the redis npm module go here
}
}
As usual with Redis, if you specify no options, it will connect to Redis on your local machine.
See the redis npm module documentation for more information about the options available under the redis
property. Note that the prefix
option defaults to the shortname
of your project. This allows more than one Apostrophe site to easily share a Redis database. If you do not want any prefix in Redis, you can set prefix
explicitly to false
.
Very important: your Redis-specific options go in the configuration for apostrophe-caches
, NOT apostrophe-caches-redis
. This module enhances the capabilities of apostrophe-caches
, and the rest of Apostrophe just sees apostrophe-caches
as usual. See the source for a great example of how to ship similar improvements for other core Apostrophe modules.
You can do that too, and it greatly reduces the load on MongoDB. You don't need this module for that. See storing sessions in Redis.
FAQs
Redis-based cache for the Apostrophe CMS
The npm package apostrophe-caches-redis receives a total of 12 weekly downloads. As such, apostrophe-caches-redis popularity was classified as not popular.
We found that apostrophe-caches-redis demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.