Questions tagged [cache]

Question related to Magento default caching system, full page cache or 3rd party caching solutions.

Filter by
Sorted by
Tagged with
0 votes
2 answers
72 views
+50

Prevent phtml template from FPC/Varnish cache - Magento2.4

We created a custom phtml template with some customer specific php, that must be loaded for each customer/pageload again. So we created the phtml template and added the following code to layout/...
JGeer's user avatar
  • 1,385
0 votes
0 answers
24 views

Magento 2 prevent clearing cache on product save in Admin

When I edit product or products in admin, after save, Magento clear cache. Now, When I decide to change 1 product this is ok, but when I want to made changes on 100 product, this is quite annoying.... ...
Petka's user avatar
  • 1
0 votes
0 answers
25 views

Magento 2 / Clear cache from another server

We have the project on 2 servers. Is there a way to programmatically clear cache for both servers? I tried apply clear cache on 2 servers with this method but it does not work And change event with ...
Diego Castro's user avatar
0 votes
1 answer
24 views

Customizing product listings cache in Magento 2 based on cookie value for unlogged customers

I would like to customize the product listings cache for unlogged customers in Magento 2 so that the order of products is sorted based on a value stored in a cookie. Currently, Magento uses a single ...
Estern's user avatar
  • 1
0 votes
1 answer
76 views

Magento 2 - Minify CSS and JS in pub/static folder not updating in browser

I have activated the minify and merged option for the CSS and JS files for better site performance, but recently I have had problems, after deploying and cleaning cache in both varnish and the ...
Diego Castro's user avatar
0 votes
0 answers
34 views

Magento2 Full Page Cache Automatically Invalidated

I have running magento243 version and it is working fine . But I am facing issue in cache flush. My admin cache is automatically cleared after every 30 minutes. I am using cron scheduler extension and ...
Sanjay Shiyal's user avatar
0 votes
1 answer
239 views

Redis cache very slow on Magento 2.4.6

I had a considerable increase in cache growth quickly and my Redis cache slowed down. Adobe recommended to enabled L2 cache. What's it and how to enable it?
Rafael Corrêa Gomes's user avatar
0 votes
0 answers
54 views

"LOADING Redis is loading the dataset in memory" error after installing redis on magento2.4.3

Redis is giving this error sometimes "LOADING Redis is loading the dataset in memory" and the website is not working, Does anybody have any solution for this
hamza abbasi's user avatar
1 vote
0 answers
52 views

100% CPU usage after deployments

After deploying change to magento cloud (2.4.3p3) our servers are hitting 100% CPU, which makes the whole system unresponsive and inaccessible. It seems to last random amount of time can be more than ...
james4563's user avatar
0 votes
0 answers
18 views

Onetime checkout success page occasionally returns 404 - have to flush cache

Once every three weeks or so, our checkout success page (.../checkout/onepage/success/) starts returning a 404. When we notice that has happenned, we have to flush the cache for it to be back online. ...
Ricardo Rempel's user avatar
0 votes
0 answers
16 views

Dynamic banners not loading after cache clear

Can some one please help me here. I cleared the Product images cache as many images were incorrect. I'm unable to recall the cache. The main dynamic banners on the homepage are not loading. I ran the ...
Sushma Varadaraj's user avatar
0 votes
1 answer
38 views

Overide cache clean method in custom cache - Magento 1.9

This is more a "Is it possible to do it" instead of "How to do it" type of question. I have a custom module where I use the Magento 1.9 cache system to store the path of certain ...
Matheus Delazeri's user avatar
0 votes
1 answer
102 views

Display customer group ID on page with all caches enabled

What's the best way to display the current customer's group id on the page when all caches are enabled including full-page cache. I did think of potentially using JS and KO but it didn't look like the ...
Goose84's user avatar
  • 2,559
0 votes
1 answer
56 views

Prevent XML file in media directory to be cached

We are generating a custom XML and stored in the media directory to be accessed by URL. La full URL of the XML have this structure: https://[maindomain.com]/media/googleshopping/googleshopping4-1.xml ...
Eliacim DAVILA - CENSERE's user avatar
0 votes
2 answers
67 views

Cache gets deleted every night when cron jobs are being executed

In my Magento 2.3.4 store the cache gets deleted every night at around 1. I figured that when I disable the calling of the cron.sh script, it does not happen. Is there a way to figure out why this is ...
user4095519's user avatar
0 votes
1 answer
377 views

magento 2.4 page cached after customer login

I have a simple text message that should change after customer logs in. So: when the customer lands on the page, he sees the text "please login" the customer clicks on "Please login&...
Lou Nik's user avatar
  • 373
0 votes
0 answers
8 views

Custom option swatch stuck

I use custom option images to select a text font. Sometimes when I visite the productpage it is suddenly not possible to select another option. For some weird reason the custom option is stuck. ...
Bram Sluiter's user avatar
0 votes
0 answers
53 views

Placeholder image showing on the front end. Magento 1.9 - Happy to pay to be fixed

I have had a Magento 1.9.1 site since 2015. All has worked fine. I moved hosting companies and now a year later when I have gone to upload more products the images do not appear on the front end. All ...
Ben's user avatar
  • 1
0 votes
1 answer
108 views

Magento Store Redirect Geo IP Address

Acutually I am redirecting the customers to the Specifc Store based on their geo IP Addresses. I applied Plugin and Observer also but the same result. Everthing is fine working, But it cachees I have ...
Rana Zain's user avatar
  • 618
0 votes
1 answer
244 views

How to store value to cache and update it once a day

I have got some data from an API, i like to store those data to cache and update it once a day. I mean i don't like to call the API for each frontend page load. I found this function if (!...
tarek fellah's user avatar
0 votes
1 answer
309 views

How to know that I'm using GraphQL cache properly?

I just applied the GraphQL cache in my PWA Studio custom queries. I'm not sure if the cache is working, should the x-cache-hits be enough to validate? How does it work behind the scenes?
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
371 views

Magento 2.4.3: set product image URL from image server

I have a magento 2 website, configuration is as below: - ngnix - php7.4 - mariadb 10.4 - elasticsearch 7.10 - varnish 7.0 - rabbitmq 3.9 OBJECTIVE - I am looking to use products images from my other ...
Amit Dwivedi's user avatar
  • 1,540
1 vote
2 answers
306 views

Magento media cache url

When images are uploaded, they are resized and put into diffent cache folders. "pub/media/catalog/product/cache/1cd59219f95f9c415e6b76e445689a097/J/K/JK791735.jpg" ect.. Where in Magento is ...
AP87's user avatar
  • 145
0 votes
0 answers
23 views

loading an HTML page extremely slow

With Magento 2.3.4 version, when browsing the page, it is too slow, it takes 4 to 6 minutes to load the page. I have checked the status of the cache and everything is enabled: > php bin/magento c:...
Donaldo Manzano's user avatar
0 votes
1 answer
95 views

Magento 2.4.5-p1 cache issue

I'm using EaDesgin custom module to print the PDF invoice since I used Magento 2.4.2. After we did upgrade to Magento 2.4.5-p1, we faced an issue when we try to edit the pdf template from the template ...
mido's user avatar
  • 49
1 vote
1 answer
73 views

Deleted Products Still Showing in Search Bar

We recently had to let our webdeveloper go and dont have a new hire yet. We are experiencing an issue with deleted products continuing to show up in our search bar. We've cleared caches and ensured ...
Cohn94's user avatar
  • 11
0 votes
1 answer
298 views

Magento 2.4 Error flushing Varnish server. Host: "127.0.0.1". PURGE response code: 501 message: Not Implemented

We are using Magento 2.4.5-p1 and PHP 8.1 versions. When we are running upgrade commands getting an issue of - Error flushing Varnish server. Host: "127.0.0.1". PURGE response code: 501 ...
sumeet bajaj's user avatar
  • 1,266
0 votes
1 answer
174 views

Varnish enabled or not?

Hi dears I installed varnish cache on centos 7 , nginx 1.20.1 and magento 2.4.5 -p1. After that I don't seeing any header about varnish on my browser. Another thing when I clear cache I have log in ...
Peren's user avatar
  • 17
1 vote
2 answers
224 views

Magento 2 increase Page Cache Storage Automatically

I have a problem with the cache on Magento 2.3.x According to my hosting provider services, the script of Magento 2.3.x is bigger and bigger size day by day. For example, last week the size of all ...
Talha Tariq's user avatar
0 votes
1 answer
450 views

Magento 2 : Disable Caching for the Block or cacheable false

I have tried to get update value without caching block. I have tried all below code,but they are not work. public function getCacheLifetime() { return null; } $this->addData([ '...
Jigs Parmar's user avatar
  • 2,428
1 vote
1 answer
984 views

db_schema.xml setup:db-declaration:generate-whitelist: Constraints/index changes are not applied/refreshed - (Is there cached db_schema.xml?)

Magento 2.3 Question Is there any place where db_schema.xml for your module is cached/restored from? Issue I need to refresh/get the recently changed db_schema.xml changes to apply, which is not ...
CvRChameleon's user avatar
1 vote
0 answers
154 views

Product Image not showing on listing page frontend after code migration Magento 2.4.3

I moved my project to a different directory as the memory is low in the disk, everything is working fine except the product listing page where the images are missing. Showing default image. Wrong ...
fernandus's user avatar
  • 464
1 vote
1 answer
231 views

What is alternative of cacheable="false"

I am developing a module i which i override the Magento\Catalog\Block\Product\ProductList\Toolbar.php by preferece and list.phtml by catalog_category_view.xml layout. Correct product listing data is ...
Divya Rawat's user avatar
1 vote
1 answer
245 views

magento_root_folder/var/tmp/_cache low disk space

I’ve found that _cache directory is consuming 17GB of space which is under magento_root_folder/var/tmp/ directory. I removed it, but after 2 days, I’ve again received an alert regarding low disk space ...
tuabm's user avatar
  • 11
1 vote
2 answers
266 views

Magento 2: Changes not reflected in PWA Venia theme

I have tried to updating the content on footer component but my changes is not reflected on frontend. Any idea about how to clear the cache in PWA studio after updating the content in component? ...
Dhaval Vaghela's user avatar
1 vote
1 answer
960 views

Magento 2.4.3 media/catalog/product/cache growing very hard - each file with many different formats

my media/catalog/product/cache directory is growing very hard. Digging a bit deeper I see that every picture gets around 30 different files in my cache directory. In the picture you see the original ...
Ronny's user avatar
  • 433
0 votes
1 answer
19 views

How to change an image used in template for magento 2.2.6

My template includes a background image on the front page that's unnecessarily huge. I've created a resized, tinyfied version of the same image but I can't figure out how to change it. Can anyone help?...
Bella's user avatar
  • 51
0 votes
1 answer
35 views

Regenerate Magento Cache by Type

I need to regenerate Magento cache programmatically either by type or whole. After cache flush, I don't want to wait for the requests to come and generate the cache passively. This is needed to avoid ...
Satish Gadhave's user avatar
1 vote
0 answers
187 views

Magento 2 message manager not working on product page

I have an issue where add to cart error is not appearing on the product page because the whole page was cached. once i disabled the cache then the validation is working fine. i also tried to edit ...
Mage Kid's user avatar
0 votes
1 answer
241 views

How to remove product_list block from cache in Magento 2?

I need to remove the product_list block from cache Class: Magento\Catalog\Block\Product\ListProduct Block: /var/www/html/vendor/magento/module-catalog/view/frontend/templates/product/list.phtml I have ...
Manish Joy's user avatar
  • 1,195
0 votes
1 answer
854 views

Whats is major impact when implements redis cache and varnish cache on Magento 2?

I am finding out some of below question regrading cache. What is radis cache and varnish cache? Why we need to implement in Magento 2? What major impact we are show in Magento 2 website? Thank you.
Sweety Masmiya's user avatar
1 vote
1 answer
70 views

Managing Cache prefixes and database numbers in multi vm environment

I am hosting Magento through Google Cloud and have each store including the admin running on its own VM behind a load balancer. My concern was I was running into issues during di:compile. When I ...
0xMatt's user avatar
  • 31
0 votes
0 answers
101 views

Magento 2 :: Fetches the value of PageId and PageIdentifier from cache

I'm trying to get the Page ID and Page Identifier in the footer.phtml template file using the below methods but getting the values from the page cache on the storefront. Using ObjectManager Method: $...
IntraPersonalLearner's user avatar
1 vote
3 answers
805 views

Is there any way to disable cache for frontend price block

Is there any way for disabling price caching in magento frontend
midhun's user avatar
  • 23
1 vote
0 answers
232 views

Load specific scope configuration data in Multi site

I have three websites in the single Magento 2.4.2 application. When I load any one of the website it will load all the websites configurations data in the configuration cache. I'm looking for a way to ...
Bilal Usean's user avatar
  • 9,917
0 votes
0 answers
143 views

Low Redis Hit Rate? (20%)

I just checked hit rate of Redis via (https://gist.github.com/kabel/10023961). The hit rate is around %20.x - is this normal? The machine has a ton of RAM and CPU available. Redis is locally ...
Kalvin Klien's user avatar
0 votes
1 answer
613 views

Is "page_cache" the same thing as full page cache in app/etc/env.php?

I was reading this article where the author shows how to configure both varnish and redis for Magento 2. In the first portion, he configured Varnish. In the second section, he ends up using this ...
Timothy Fisher's user avatar
0 votes
1 answer
95 views

Site not using the var/view_preprocessed cache

I have two Magento 2 sites, both which have an identical module. On site 1, if I update the .phtml template file of the module, I have to go to developer mode and back to production mode to see the ...
RichardB's user avatar
  • 325
1 vote
0 answers
10 views

cache for customer

I am having a strange problem. When some customers login the cache loads with error (the page is lopped and images don't load). But for other clients after logging in the loading is normal. Is the ...
Fabio Rodrigues's user avatar
0 votes
0 answers
14 views

From where magento2 fetches result when we select any option from 'sort by' dropdown on product listing page?

From where magento2 fetches result when we select any option from 'sort by' dropdown on product listing page? Does Magento reassign order for the items instantly or it displays result from cached/...
Satya P's user avatar

1
2 3 4 5
24