stimulus_reflex icon indicating copy to clipboard operation
stimulus_reflex copied to clipboard

`solid_cache` seems to work as well as Rails cache store

Open andyundso opened this issue 1 year ago • 1 comments

Feature Request

The setup guide suggest that you need to use Redis for caching and ideally also for ActionCable, plus the gem has a dependency on Redis. We deploy our applications on Windows machines and simply do not have Redis available.

I never used stimulus_reflex before, but worked on a first PoC this afternoon in said app, and it seems everything works fine when using solid_cache as Rails cache store. Is this observation correct? If so, the setup guide could be updated and maybe even the dependency of stimulus_reflex on redis could be dropped.

(I also used the async adapter for ActionCable instead of Redis - I know, not recommended in production, but again, constraints. App runs on Windows and against MSSQL, so PostgreSQL adapter is also no option).

Is your feature request related to a problem?

No.

Describe the solution you'd like

Happy if I can circumvent my way around Redis.

Additional context

No additional context needed.

PR link

No PR so far.

andyundso avatar Feb 19 '24 22:02 andyundso

Hey @andyundso, thanks for opening this issue!

I think it would be awesome to have these options outlined in the docs as well. If you feel like it, please open a pull request so we can add these alternatives to the docs. Thank you!

marcoroth avatar Mar 12 '24 06:03 marcoroth