5
votes
Using PHP Redis as Session Store
This may help:
Add the following to the general.php
'cacheMethod' => 'redis',
'overridePhpSessionLocation' => 'tcp://localhost:6379'
Add the following to the index.php
ini_set('session....
3
votes
Accepted
Craft CMS 3 - Redis Sessions cause error
@boboldehampsink to the rescue: https://github.com/craftcms/cms/issues/3428
Update:
This article covers things really well.
https://nystudio107.com/blog/the-case-of-the-missing-php-session
php ini ...
3
votes
Expected performance benefit of using a non-file CacheMethod (Redis, Memcache)
How many servers do you have?
Redis and Memcached are most beneficial/intended for a multiple server setup so if you only have one server, there's probably other/betters thing to worry about. (Best ...
3
votes
Accepted
Expected performance benefit of using a non-file CacheMethod (Redis, Memcache)
As with most performance related questions, the answer is "it depends". :)
Apps like Redis and Memcache store their key => value stores in memory as opposed to disk-based file caching.
Accessing ...
2
votes
Expected performance benefit of using a non-file CacheMethod (Redis, Memcache)
Here you can find an interesting benchmarking between Redis (remote or local) and Python Disk caching. The answer from Didier Spezia is good enough to understand the results.
https://stackoverflow.com/...
1
vote
error in production when using redis for cache and session
Luckily, someone else had this problem: https://github.com/craftcms/cms/issues/7617#issuecomment-786715807
The issue was because of leaving the password blank. devMode did not care, but production did....
1
vote
Redis cache memory usage
You don't mention if it's Crat 2 or Craft 3, but I'm not seeing anything in either codebase where Craft (or Yii) would limit the amount of memory available in its caching classes.
1
vote
Craft 3 Redis configuration error
Turns out it was a beginners mistake, thank you to Robin in the comments above for setting me on the right track. All that was required to install was the Yii2 library, once this was done all worked ...
1
vote
Control Panel Session 60 second Timeout
I seemed to have resolved this issue. Though I am not entirely clear about why the following works, I'll describe what worked for me in case someone else is alos having this issue. If anyone can shed ...
1
vote
Control Panel Session 60 second Timeout
I've had issues before where I was getting logged out and could not fathom why: it turned out (after weeks) that when I was using Inspector Tools' Responsive Design mode, Chrome sends different UA ...
1
vote
Craft with Redis session handling
I can't say for certain if you would see faster session handling if you added the overridePhpSessionLocation config key, but have you added the appId and validationKey configuration keys? I was ...
1
vote
Expected performance benefit of using a non-file CacheMethod (Redis, Memcache)
Redis and Memcache are both Key value pair storage, their key => value stores in memory as opposed to disk-based file caching that make is faster to access compare with accessing data from disk
Few ...
Only top scored, non community-wiki answers of a minimum length are eligible