All Questions

Tagged with
Filter by
Sorted by
Tagged with
34
votes
2answers
27k views

Magento Cache - confusion about Varnish, Redis, APC, Memcache

I'm try to improve Magento performances ( soon or later "MageDev" hit this point :) I did some research and I found a lot of good, but not homogeneous, guides. What I got is that: MemCache or ...
9
votes
3answers
16k views

Flushing REDIS Cache

Will either of the buttons FLUSH REDIS?
9
votes
1answer
493 views

Why Can't Magento Turn Off The Cache When Redis Fails

I'm working with Magento 1.9.0.1, and every now and again our Redis servers which host the Magento cache, (AWS ElastiCache) will go down. When this happens, Magento fatally errors until Redis is ...
7
votes
1answer
768 views

Why is cache being saved to the file system when Redis is configured as the cache backend?

I'm using a call to Mage::getSingleton('core/cache')->save() within a controller of mine and it's saving the cached value to the file system (var/cache/) even though Redis is configured as my cache ...
7
votes
1answer
1k views

Lesti FPC, Redis and Magento multistore. How to Clear cache for only one store?

I have successfully set up Lesti FPC with latest Redis, including session and backend cache, on a Magento 1.9.2 with a few stores. Everything is working really great. My question is, if possible, how ...
5
votes
1answer
1k views

Magento Enterprise 1.13.1 REDIS cluster with failover automation

One of the answers above mentions the use of: Cache hosts (by parhamr) There are two hosts running Redis in a master-slave configuration with automated failover. Three Redis instances are used ...
4
votes
3answers
3k views

Configuration Redis on Magento2 errors

I already installed and tested Redis working properly on my server. But when I added Redis required settings cache in my app/etc/env.php then my Magento 2 displays blank page. I also tried to clean ...
4
votes
1answer
198 views

Magento 2.3.1 customer grid sorting issue

I am using magento 2.3.1. I am having this strange issue only in admin>customer grid No matter which column I choose to sort the results are always the same. It happens only in this grid. What I ...
4
votes
1answer
838 views

Redis version requirement for Magento 2?

I see on M2 requirements page that it says: Magento can utilize the following technologies: Redis version 3.0 for page caching and session storage (the latter supported by Magento version 2.0.6 and ...
4
votes
2answers
1k views

How to flush/rebuild config cache on High-Performance sites?

If we flush the config cache, the cache is build up by the customer in the frontend. The problem is that a lot of customer build the same cache and it took a lot of server resources. Is there a smart ...
4
votes
2answers
183 views

Why is site faster without Full Page Cache on?

We recently had to do a code deployment to a server cluster. We turn off cache before the deployment. We forgot to turn the cache back on but then after looking at NewRelic we noticed the response ...
3
votes
1answer
5k views

Check if user logged on to admin or not, stops working after installation of Redis Session Cache

I have this code, found on the Internet, to check if a user is logged on to the admin pages or not. I recently installed Redis Session Cache successfully, and now these lines of code doesn't work ...
3
votes
1answer
676 views

Problems flushing Magento Redis Cache on an installation with a separate backend server

My problem is that I do not think I am able to refresh the magento redis cache from the admin page. I realize that the problem could come from many sources, but my gut tells me it has something to do ...
3
votes
1answer
1k views

How to prevent Redis cache race conditions

We have a multi server Magento installation using Redis as cache backend. Every time I flush Redis (FLUSHDB or FLUSHALL) under traffic Redis runs into race conditions. Calling redis-cli -h xxx....
3
votes
1answer
173 views

Magento2: What exactly is stored in Redis “page and default cache”?

We figured out that we are a bit unsure about what exactly is stored in redis "page and default cache". Until now, we thought it is only about configuration, and maybe some page templates. But today,...
3
votes
1answer
60 views

Admin cache only showing refresh in dropdown [closed]

I've disabled and enabled and cleared and flushed cache through php bin/magento cahce:disable php bin/magento cahce:enable php bin/magento cahce:clean php bin/magento cahce:flush Recently i just ...
3
votes
0answers
562 views

Why doesn't flush cache storage flush Full page cache db with Redis [closed]

I just noticed when trying to flush cache storage through the admin in Magento Enterprise 1.13.1 for one of our clients, it isn't flushing the database set in the Redis configuration for FPC. I notice ...
2
votes
4answers
2k views

Cm_Cache_Backend_Redis - Suspected config cache invalidation

I have a cluster with 8 webserver nodes and a redis cache instance running on a separate server. During high load, the throughput on the redis server goes through the roof, approximately 35-40 MB/s (...
2
votes
1answer
230 views

Magento 2 - Use Redis in Full Page Cache

I check similar question but I am unable to find command to add Redis server for full page cache. The command to add Redis for backend cache is following: php bin/magento setup:config:set --cache-...
2
votes
1answer
108 views

Magento + Redis: same config for two different instances - safe?

Can I use the exact same config for redis for two different magento instances or do they access / write to the same cache? F.e. I have a "production" and "staging" instance of magento which have their ...
2
votes
2answers
895 views

Using Read Replicas with Redis

Does Magento Enterprise have any means of using read replicas when using Redis as a back-end cache? If not, any tips on how this could be added? Magento uses Credis_Client by Colin Mollenhour, who ...
2
votes
0answers
403 views

No TTL for LAYOUT Cache

I noticed that Magento Layout module does not provide TTL when saves to cache, so the keys in Redis are not expired. Example: vendor/magento/framework/View/Layout.php: $this->cache->save($this-...
2
votes
0answers
190 views

Redis Cluster Gives Error in Magento-2

I have implemented Redis cluster in my local machine with three masters and three slaves. I did all the required configuration in my app/etc/env.php file and when I am accessing the project url, it ...
2
votes
1answer
629 views

Can't clear home page cache

I've recently switched from memcache to redis to handle the cache and session storage. All has gone well except I can't flush the cache for the home page. Template updates won't show and sessions ...
2
votes
0answers
244 views

Redis default configuration and utilization

We did install Redis server 3.0.7 which has made our Magento store 1.9.x a bit better than before, but I just need to ask that all settings which comes out of the box in Redis is fine? or do I need to ...
2
votes
0answers
3k views

Why would the Blocks HTML output cache need to be refreshed daily?

I've noticed that our Blocks HTML output cache regularly needs to be refreshed, every day even when no one has been working on the Backend of Magento? Why would this cache become invalid so ...
2
votes
0answers
153 views

Magento 1.9.2 Redis cache issue [duplicate]

I have a magento 1.9.2 with Redis cache server. I have one issue that every time, I make changes, it does not invalidate the cache so to enforce changes I use redis-cli flushall every time which is ...
2
votes
0answers
213 views

Issue with Redis removing breadcrumbs [closed]

For some reason Redis seems to be removing breadcrumbs from the product view. As soon as I flush Redis they reappear for a while then disappear again. Does anyone know of an issue with Redis with ...
1
vote
1answer
287 views

Magento 1.7.0.2 : Creating a Website fails (Redis backend cache error)

I'm having an issue, just trying to create a new website. I'm entering the information in System / Manage stores / Create Website. First, It fails with a fatal Error 512 Mo exhausted ... I increased ...
1
vote
1answer
460 views

Magento CE cache mounted to ram? [closed]

Ive done alot of reading that mounting var/sessions and var/cache to ram will give a performance boost. However would this still be beneficial if I am using SSD?
1
vote
2answers
263 views

Warning: include(Cm/Cache/Backend/Redis.php): failed to open stream: No such file or directory

I created a new custom module on my magento 1.9 website. After I installed it I got this error on my system.log file: Warning: include(Cm/Cache/Backend/Redis.php): failed to open stream: No such file ...
1
vote
2answers
525 views

Caching issues on product and category updates using Redis and Varnish

For our shop with > 100.000 products and 2000 categories we use Redis as Magento Cache and Varnish on the load balancers as page cache. We have Magento 1.9.2x CE. The main problem is that there is no ...
1
vote
1answer
83 views

Caching some data in Magento

I'm trying to cache my menu module like this: $cache = Mage::app()->getCache(); if(!($cachedMenu = $cache->load("super_menu_".$child->getId()))) { ....blah blah blah .... generating some ...
1
vote
1answer
3k views

Magento var/cache directory is empty

A few day ago I try to install and configure Redis and Varnish (by Turpentine) for my Magento site v.1.8 . After this, I decide to rollback and I get my old (working) local.xml (which has the ...
1
vote
0answers
99 views

Magento when site is loading than facing issue

I have facing issue in magento when site is loading. Fatal error: Uncaught CredisException: Connection to Redis 127.0.0.1:6379 failed after 2 failures.Last Error : (1) Connection refused in /...
1
vote
0answers
103 views

Magento 2.3: How to configure magento CLI commands to use custom names for dangerous redis commands

Environment OS: Ubuntu 18.04 LTS Server: Apache 2.4 Database: MySQL v14.14 distribution 5.7.25 PHP: 7.2 Redis: 5.0.4 Issue Following the digitalocean tutorial referenced ...
1
vote
0answers
21 views

Magento 1.14.4.1: Not able to clean specific type of cache while using redis cache

I have redis which is hosted separably. I need to clean specific type of cache (i.e. block_html) using a script. The problem is that whenever I update product it doesn't reflect on the front-end side ...
1
vote
1answer
57 views

Cannot enable caching with Docker local environment

I am getting this error In Serialize.php line 33: Unable to unserialize value. However, I do not believe this is the same issue as mentioned in this thread. I am using Docker for M2 local dev ...
1
vote
0answers
40 views

Magento 1.9.3.8 Redis version

I am using Magento 1.9.3.8 with Redis 3.0.6 as backend cache and also my FPC extension is using it for storing files. I am wondering if Magento is still working with latest Redis 5? I can't find ...
1
vote
1answer
398 views

Redis sessions and Redis cache failure

I have two virtual machines running magento: one just for the frontend and one for the admin. They are connected to two Redis instances: a virtual machine for sessions (db 0 for frontend and db 1 for ...
1
vote
0answers
54 views

turning off caching on specific blocks

I'm working with emarsys and i keep having issues with their webextend scripts. Data is being served to wrong customers and abandoned emails are populating the wrong items. They keep telling me it's ...
1
vote
0answers
338 views

How to configure Redis Cluster in Magento 2

I have installed and configured Redis Cache with Magento-2 and it's working fine. For that, I added the config data in app/etc/env.php file. Now I am trying to configure Redis Cluster with Magento-2 ...
1
vote
1answer
291 views

Application response time increase after flushing Redis object cache

So, today we attempted to migrate object cache from "local file storage" to Redis for our store on Magento EE 1.14.2.4. After placing the connection details in local.xml and manually clearing var/...
1
vote
0answers
282 views

Redis Expiry and Memory Limit issue

we have recently installed Redis Cache for our magento based sites. we 2 websites on our server both using same redis server, our server is based on linux with centos. the issue we are facing is ...
1
vote
1answer
105 views

Redis and Magento Cache Management system

I have a little confusion here on how redis do the job in Magento exactly. When redis and magento cache management enabled, are both running and work at the same time? Or, redis override all the ...
1
vote
0answers
211 views

magento ajax layered navigation data came from cache [closed]

I have ajax layered navigation extension and varnish magento extension. they seem to have category products came from cache. Ajax layered navigation ajax loader is triggered when I select a pagination ...
1
vote
1answer
359 views

Order “Items to ship” not displaying items cannot submit shipment

Having a problem with orders where if I select an order & then go to the ship page it does not display the product at the bottom & I cannot submit shipment. Was ok until I turned off Redis ...
0
votes
1answer
278 views

Is sucuri and redis cache work together? [closed]

In magento site my client is using Sucuri cache Sucuri now he want to use redis cache too because site is too slow so I also add redis cache in server and website but after that site speed performance ...
0
votes
1answer
468 views

Redis Server restart options

I have setup a redis server and I see a redis-server running in daemon mode. I thought the following stops the redis server service redis-server stop However, when i run that command, the website ...
0
votes
2answers
75 views

Magento 2 caching problem

I am not able to flush the cache properly. I am using Magento 2.1.4, Redis and Varnish. I have tried flushing the cache in the Magento admin: Admin > System > Cache Management > Flush Cache ...