Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solid_cache seems to work as well as Rails cache store #684

Closed
andyundso opened this issue Feb 19, 2024 · 1 comment · Fixed by #703
Closed

solid_cache seems to work as well as Rails cache store #684

andyundso opened this issue Feb 19, 2024 · 1 comment · Fixed by #703

Comments

@andyundso
Copy link
Contributor

andyundso commented Feb 19, 2024

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.

@marcoroth
Copy link
Member

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!

@andyundso andyundso changed the title solid_queue seems to work as well as Rails cache store solid_cache seems to work as well as Rails cache store Apr 11, 2024
marcoroth pushed a commit that referenced this issue May 24, 2024
This PR adds a new page which describes how to setup StimulusReflex
without Redis. I extracted it into a separate page because I felt it was
too much to rewrite all the existing documentation, which relies on
Redis. I assume most people will use Redis, and the "redisless"
configuration likely is a niche thing.

Fixes #684
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants