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
1answer
17 views

Magento 2 : Index constantly clearing cache of our whole catalog

So I'm having a serious issue with Magento which is ruining performance since 90+% of the time we don't have caches. I'm running Magento 2.3.2 and Varnish and have had several issues with them. ...
0
votes
2answers
46 views

How to clean or flush cache programmatically in Magento 2.3?

I have tried DI and Object Manager way to clean or flush cache but its not working for me using DI public function __construct( Context $context, \Magento\Framework\App\Cache\...
0
votes
1answer
28 views

Magento 2.3.2 wrong image cache path

Magento 2.3.2 upgrade after 2.2.6 having issue on product page. Images aren't appearing on product pages. The path coming is 404 /catalog/product/cache/50dd8aa5084eb9449e88d424223230cd/image/...
0
votes
0answers
16 views

Magento 2 - Website will get in cache loops and redirect to homepage (only at random times)

Our website runs into situations where it is working fine for days, but then customers will occasionally get into a situation where they are say trying to goto checkout, and instead of heading there, ...
0
votes
1answer
20 views

Magento2 : Cache file path displayed in home page

/home/healthba/public_html/var/view_preprocessed/pub/static/vendor/magento/module-theme/view/frontend/templates/page/js/require_js.phtml /home/healthba/public_html/var/view_preprocessed/pub/static/...
0
votes
1answer
8 views

Magento 2: Which pages are cached via FPC?

I'm having issues with cache and I would like to know which pages are natively cached and uncached by Magento 2?
2
votes
0answers
26 views

Detect old cache images in Magento 2

Due to some mistake we ended up in cached thumbnail images for old versions of our images in Magento 2.2.8 shop. How can we detect those images? Is there a build in function for this? We want to ...
0
votes
0answers
13 views

Quote Items are showing only if flush cache - Magento 2

I am trying to get cart quote items by the following code: File: app/code/Essence/Fcf/view/frontend/templates/packages.phtml I called this file in my cms page by following code: {{block class="...
0
votes
1answer
44 views

The style.css inside magento installation directory is effecting cache

I am very new to Magento. Recently i have to add extra styles to my magento website. So I go to adminpanel -> content-> design->configuration->my theme ->HTML Head I add the following ...
0
votes
1answer
14 views

Varnish: Saving product clears all product pages

When I programmatically update a product, all cached products (varnish) seem to be cleared. This is the header from the purge request: ReqHeader X-Magento-Tags-Pattern: ((^|,)cat_p_3478(,|$))|((...
0
votes
1answer
27 views

Magento 2.2 Random frontend display issues and 500 error reports

We are running a large Magento site (17 store views) with several custom modules installed. Most of the time the sites are stable and performing well, however, we do get some random issues where the ...
1
vote
1answer
43 views

Magento 2.3 cache menu on homepage

I met this case sometimes on Homepage. The menu was cached when I return Homepage from another category page. Does anybody here have idea and solution for that? Thanks
0
votes
1answer
23 views

Varnish Latest Version Centos 6.1 Magento 2.2

Please can someone clarify this for me I'm very confused. I want to install Varnish for Magento 2.2 Store - Linux CENTOS 6.10 [server] v80.0.22 Im using these instructions to install For CentOS ...
0
votes
1answer
27 views

Magento 2.3.1 Product Thumbnail Image is not displaying

After upgrading Magento Website from Version 2.0 to Version 2.3.1, product thumbnails are not displaying in "Most Viewed Products". Please help me.
0
votes
2answers
41 views

Magento 2 : Need to perform clean cache programmatically after records save

In admin side, I want to clean "eav" cache type on records save. I added code in afterSave() function and function also call after save records. But, I think it's not working because, parent afterSave(...
0
votes
1answer
19 views

Magento 2 - Admin product page layout issue

I am facing an issue while trying to go on the product page from a catalog in the admin. The product page grid layout not loading properly. Every time when I clear cache, page load correctly. What is ...
2
votes
1answer
33 views

Magento 2 Looking for configuration saved event

I'm trying to write something that automatically clears cache on magento, when user hits Save, on any pages under Backend / Stores / Configuration. I'm only looking for the proper event to hook into ...
1
vote
0answers
25 views

customer login link should be change to logout/sign out but still it is showing login

After customer login link should be change to logout / sign out but still it is showing login. For that I have add cacheable=false from layout file when calling custom block. Also flush cache ...
0
votes
1answer
19 views

I am creating custom cache type but its not appearing in Cache Management section magento2

I have created cache.xml inside app/code/Custom/CacheType/etc/cache.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Cache/etc/...
0
votes
0answers
11 views

Leverage browser caching, Amazon Pay Module & Google Recaptcha Module

Is there a way I can cache the following external contents? it is lowering my page score. https://coin.amazonpay.com/cs/uedata (expiration not specified) https://coin.amazonpay.com/rb/checkStatus ...
0
votes
1answer
24 views

How to stop run command line after changed in Magento 2?

Can anyone help me how to change the content in Magento without using the command line like php bin/magento cache:clean or php bin/magento cache:flush I always have to run this command after any ...
0
votes
1answer
26 views

M2: flushing cache lets page render one time, then blank white page thereafter

I'm working through Alan Storm's 'No Frills Magento 2 Layout' an internal dev server. He walks the reader through small edit, refresh, another small edit, refresh, see what changes, and so on. There ...
1
vote
3answers
65 views

I can't tell all clients to clear their browser cache!

recently we have changed few files js/CSS/phtml files on our site as we tested them we experienced strange thing in incognito mode the new CSS and js is working fine but if we switched to normal mode ...
0
votes
2answers
32 views

After Clearing all the cache. I can't able to scroll to top, menu is hiding

Magento 2.2.7 I cleared all the cache. Clicked on system icon on the left side menu. I can't scroll up. but I can able to scroll up after the refreshing page.
0
votes
2answers
29 views

What are the possible ways through which all caches can be disabled?

In one of our project website started loading very slow and I found out all caches were disabled which I have enabled earlier. I can figure out the following ways through which caches can get ...
2
votes
1answer
30 views

Magento add to cart not working after cache

flurys.digifrizz.com is the site. In home page magento add to cart not working after cached. here is the custom_home.xml <?xml version="1.0" encoding="UTF-8"?> <page xmlns:xsi="http://www....
0
votes
1answer
26 views

How to get rid of browser caching issue of javascript file in magento 2

After our magento 2 site is live whenever we are doing changes in JS file it doesn't reflect in customer browser as a result some of the pages breaks for those customer who doesn't flush his browser ...
1
vote
5answers
64 views

How to refresh Magento Cache Management using CMD Prompt?

How to refresh Magento Cache Management using CMD Prompt?
1
vote
0answers
17 views

Magento 2.3.1 Change store view in controller_action_predispatch event

In my extension, the default storeview is English and I want to set Arabic storeview, only one time when the customer comes first time on my website. I'm using controller_action_predispatch event to ...
0
votes
0answers
13 views

Magento 2.3 Cache / Clear Fields

In my checkout steps I have created a few custom fields, and after I fill them out complete the checkout process and am back in store and put a new item in cart and proceed to check out, the same ...
0
votes
0answers
28 views

Magento 2 cache issues

Fairly new to Magento 2. I recently built one site using a Luma child theme and all went (fairly) well, now on my second site - different host - which is basically a copy of the first one, same exact ...
0
votes
1answer
23 views

Get session form key in javascript m1

In my product review form the form key fetched from core/session is cached and does not pass the validation upon form submission. So, Mage::getSingleton('cor/session')->getFormKey() and $this->...
2
votes
1answer
30 views

How to Clear cache files for .less

I'm in Production mode. I like to change some styles in my website, so i edited .less for example: app/design/frontend/Templatemonster/theme/web/css/styles-l.less I used "flush Magento cache" from ...
0
votes
2answers
65 views

Permission issue after clone the project Magento2.3.1

I am facing an issue after cloning my project from bitbucket repo on a different server that is having Centos 7. Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/var/www/html/var/...
5
votes
3answers
88 views

Magento 2 - Categroy, CMS and Product page changes are updating along with Page Cache

I have page cache enabled and it is working fine. In Magento 1.9 when I update anything on website then I have to flush full page cache (Amasty plugin) otherwise changes wont reflect on frontend. ...
0
votes
1answer
65 views

Customer name not appearing and products not showing in mini-cart, Magento 2

I have Magento 2.2.6 version. After signin, customer name is not showing on top dropdown bar, however if I reload the page aur goto another page it then appears. Another issue is that when adding ...
1
vote
1answer
154 views

Images are not loading after upgrade to Magento 2.3.0

We have upgraded magento from 2.2.8 to 2.3.0 Upgrade is done correctly, But product images are not loading in list page and product detail page. Right now the product images are taking like below ...
1
vote
0answers
24 views

Magento 2: How to check the image of product with hash cache folder used or unused?

I have many images in cache folder. When I delete product or image from admin, the image is still there. How can I check that the image of product with hash cache folder used or unused to remove it? I ...
0
votes
0answers
51 views

Can't disabled 'compiled_config' cache

Updating a project from 2.1.x to 2.3. Running into an weird issue where 'compiled_config' cache won't disable. Tried disabling via cli with php bin/magento cache:disable compiled_config and it ...
0
votes
0answers
18 views

Magento 2 caching Web Service response

I have a problem, whenever a user finalizes a purchase he is sent to an order tracker page. When this page is first opened it posts the order to a custom web service. There is an IF that checks if ...
1
vote
2answers
35 views

Cache Issue on mobile and desktop

facing the cache issue. Cache Clean issue - HTML/CSS changes are not reflected on normal browsers. It shows in private or Incognito window. We can't tell each customer to open the website in ...
0
votes
0answers
55 views

products disappear from category page or search result, index error cluster_block_exception

Products sometimes disappear from the category pages in the frontend. It might be after reindex, or clear cache. If i go to magento admin panel->catalog-> and highlight the category, make some changes,...
1
vote
0answers
67 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 /...
3
votes
0answers
27 views

Magento 2 caches keep disabling themselves [duplicate]

During deployments we sometimes have the problem, that all the caches disable themselves, for no apparent reason. During deployment, we basically execute the following commands: bin/magento ...
0
votes
1answer
125 views

Magento 2: Set Cache life time to block

I am creating an extension for displaying labels in product page and listing page. Everything works fine except the cache issue. If I set the status to inactive, then the labels will display in the ...
0
votes
0answers
32 views

Magento2.1 top menu cache

Want to create cache for magento 2.1 menu to don't send request. Created cache folder and on menu.php on Block set directory but got below error: Error filtering template: Notice: Undefined ...
0
votes
0answers
27 views

Invalid header value when flush magento cache

Flush magento cache generate error Zend_Http_Header_Exception_InvalidArgumentException Invalid header value #1 Zend_Http_Client->_validateHeaderValue() called at [vendor/magento/zendframework1/...
0
votes
0answers
26 views

Copying a Magento 2 Site to New Domain 'Remembers' Old Site

I have copied a Magento 2 site from a test domain (testing.mytest.co.uk) to a live domain (mylive.co.uk). It has come time to upgrade the Magento version (2.2.5 to 2.2.6) and I receive the following ...
0
votes
1answer
24 views

Cache breaks my check for detecting if a customer is logged in

When I turned off cache (bin/magento cache:disable) the below code works otherwise it's not working. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $customerSession = $...
5
votes
3answers
185 views

Magento 2.3 - Topmenu tabs with wrong (cached) 'active' class

I have a small menu problem. The active tabs do not match the active class. If I disable the static_block cache it works again, so it actually looks like the menu is cached and continues to display ...