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
14 views

Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory .Magento 1.9 indexing error

I have installed Magento 1.9 but when I am trying to run indexer command I am getting following errors. PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /...
0
votes
4answers
28 views

Cache Types are Invalid. How can i resolve this permanently?

Error: One or more of the Cache Types are invalidated: Configuration, Page Cache. Please go to Cache Management and refresh cache types. How can i resolve this permanently?
0
votes
1answer
46 views

Purge specific Link from Magento 2 Varnish

I am trying from console to purge and refresh one specific link of my magento 2 store in Varnish. I don't want to clear the whole cache but just one link. I tried: curl -X PURGE http://www.example....
0
votes
0answers
64 views

Magento 2.3.4 Cache Issue

I am having issue with magento 2.3.3 and 2.3.4 versions. I am using Grouped product structure. On product page if I choose one of the related product then it start showing starting at: price on top of ...
2
votes
2answers
40 views

Magento 2 Multiple Nodes Clear non-FP caches

Considering a multi-node setup where there is a single Varnish server for load balancing and multiple Magento servers (Apache and Magento on each), what is the recommended setup so that using Admin (...
0
votes
0answers
11 views

What could cause Magento 2 FPC to get invalidated?

Without any backend operations I am seeing product and category pages getting invalidated within 24 hours. Store uses Varnish for page cache and Redis for session.
1
vote
0answers
20 views

Magento 2.3.2 Redis cache grows very large quickly

A large multi-site Magento 2.3.2 store (4 stores, 90k products, 5k categories) running with Varnish FPC and Redis cache for Magento cache. We find that within 20-30 minutes after a full cache flush, ...
1
vote
0answers
22 views

Magento2 - Is cache invalidation supposed to work properly when index is on-schedule?

We have the following problem: Over the night, products are imported via REST interface. Now in the morning some categories are shown as empty. Indexes are set on update-on-schedule, that means, the ...
0
votes
0answers
23 views

Magento2: JStree Style CSS is not loaded properly

JStree Style CSS is not loaded properly 404 error: pub/static/version1580100386/adminhtml/Magento/backend/en_US/jquery/jstree/themes/default/style.css Please help.
0
votes
0answers
10 views

Magento 2 - changing store view from observer

I have an observer in my module (fired on controller_action_predispatch) which checks the current logged in customer billing country, and sets the store view accordingly. For example: $this->...
0
votes
1answer
20 views

Magento controller only executing once - cannot disable cache

I have a controller that only executes once after the cache is cleared. After that the response is always the same - cache is there instead of a new execution. The class is extends\Magento\Framework\...
1
vote
2answers
35 views

Magento 2 - I am facing this every time I run upgrade and deploy command after applying changes

Each time I deploy some changes and run, upgrade compile deploy reindex cache clean commands I face these issues? Anyone ?? I have deployed child theme and after that, I have run these commands
0
votes
1answer
56 views

Magento 2.3.3 images are not displayed on frontend

After a recent update from Magento 2.1.7 to 2.3.3. product images are not displayed. I believe it is cache related, and most common (if not only) solution that I have found is to run: php bin/magento ...
0
votes
1answer
30 views

Permanent solution for magento 2 permission issue after cache flush

Whenever i flush cache i have to give permission to the folder. what is the permanent solution for this issue.
1
vote
0answers
15 views

Why do I see action notification messages on other pages?

Sometimes when I added products to the cart or I type wrong my password, I see the warning message in the checkout success page. How could I fix it?
0
votes
2answers
25 views

Error when trying to change Caching Application

I was trying to get a Magento 2.3.2 store to use a different caching mechanism rather than the built in one but every time I attempt to change this I am met with a 500 error and the store just reverts ...
1
vote
3answers
57 views

Magento2.3.2: Cache is not writable error

Suddenly I am getting the following error on my website : Depoto. Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/opt/bitnami/apps/magento/htdocs/var/cache/" is not writable in /opt/...
0
votes
0answers
8 views

Production Mode - What Happens When You Make A Product Change

So, we are running in production mode and when we make product changes the cpu load is really high for about 2 minutes. What exactly is happening when products are changed in production mode.
0
votes
1answer
79 views

Magento2.3.2: Path “app/etc/” cannot be used with directory “/app/etc/”

I am working on Magento2.3.2 When I tried to enable cache types from the admin panel, I am getting the following error. Path "/opt/bitnami/apps/magento/htdocs/app/etc/" cannot be used with directory ...
0
votes
1answer
26 views

Magento 2.3.X css updated after certain time in custom theme

I have used Porto theme and create a child theme with custom CSS file. Sometime css is not updated instantly and take certain time to update. I have already contacted the server support and they told ...
3
votes
0answers
25 views

How to retain exact Product Image Quality

I have modified view.xml to increase the Large image dimensions. <image id="product_page_image_large" type="image"/> <image id="product_page_image_medium" type="image"> ...
5
votes
3answers
96 views

Magento 2: quote data is not working with cache enable

I tried the below code but when the cache is disabled. it works, but when I enable cache it does not work. Overview of retrieving the data of shopping cart items, subtotal, grand total, billing & ...
1
vote
1answer
55 views

Too many redirects in Magento 2.3.3

I am trying to migrate a magento version 2.3.3 site / system from one server to another. After doing everything I should do to complete the migration I am getting 302 as a server response once after ...
0
votes
1answer
55 views

Magento 2 Redis Deprecated Functionality Causing Magento not to Start

Magento 2 is failing to start. The logs show this error: Deprecated Functionality: implode(): Passing glue string after array is deprecated. Swap the parameters in vendor/colinmollenhour/credis/...
0
votes
0answers
14 views

Magento2.3.3 fresh installation getting error customer-data.js [object Object] only in firefox

With Magento 2.3.3 fresh installation without any modification I am getting error at console customer-data.js [object Object] This happens only in Firefox and not in Chrome. Tried flush and reindex ...
0
votes
1answer
44 views

How to implement customer specific pricing, Magento 2.3

We want to display customer specific prices on all product listings and product pages on the front end. So far what we've done is created a collection plugin for the resource model which fetches a ...
0
votes
0answers
59 views

Magento Progressive Web App (PWA) - how to integrate Varnish Cache?

Same as above question "How to integrate Varnish cache into PWA ?" Please give me any solutions or suggestions :))Thanks everybody for reading!
0
votes
1answer
11 views

Widget layout error on saving

Testing a widget I created, I get a weird error when I try to set up the layout where the widget should appear. After hitting the "save" button I get the following: File "/http/var/view_preprocessed/...
1
vote
1answer
22 views

Magento 2.3.3: Caches after changes in CSS

What is the best and fastest way make changes visible that has been done in _theme.less file ? I always do a lot of things but it is not effective: php bin/magento setup:upgrade; php bin/magento ...
0
votes
0answers
21 views

Disable price cache

I need to disable caching on all blocks displaying price, where can I disable this? Clearing the cache whenever you charge some price will do. Already tried to put cacheable = "false" in some blocks ...
0
votes
0answers
18 views

Zend_Cache_Backend_File error in magento2

I am getting an error. Please help me...! Class 'Zend_Cache_Backend_File' not found in /home/bighstorechek2/public_html/vendor/colinmollenhour/cache-backend-file/File.php on line 38 in magento2
4
votes
2answers
208 views

Is it worth paying for Litespeed + LiteMage Cache on a Magento 2 site, or can I do just as well with Varnish, Turpentine, Redis, etc.?

I am in the process of setting up a new Magento 2.3 store with Apache, Varnish (probably Turpentine) and Redis. All requests will be via HTTPS (SSL). I recently became aware of the Litespeed Web ...
1
vote
0answers
12 views

what are the minimum steps to run in order to see the updates after edit a php file from the vendor folder

somehow in my /public_html/vendor/magento/module-catalog/Model/ResourceModel/Product/Indexer/Price/BatchSizeCalculator.php file there are extra characters accidentally added by one of the team ...
1
vote
0answers
10 views

Cache type to regenerate schema.graphqls files

after changing the schema in schema.graphqls file I always must clean the cache. It's take a while, so I'd like to know, what the cache type in magento is responsible for regenerating this files?
0
votes
1answer
76 views

How to change value to X-Magento-Vary cookie based on URL parameter?

I would like to change the value of the 'X-Magento-Vary' cookie based on URL query string, just like when a customer logs in or store is beeing changed. I created a plugin to set a value to the http ...
1
vote
1answer
26 views

Homepage only displays correctly when logged in

I just disabled a new extension due to some conflicts it had with a custom extension we have installed. Immediately after, I noticed the website was much slower, and after checking the cache, I ...
2
votes
2answers
49 views

Varnish cache is purged on every order

Each time I place an order in my Magento 2.3.3 installation all category pages are purged. I found these messages in the debug.log but I can't find what is causing this. Or could this be the default ...
0
votes
0answers
21 views

Product Category selection - Category info not updating to appropriate description upon selection

When I have multiple categories for products, the category displays the products in the category, a title and a description of the category. When the user select another category from the category ...
0
votes
1answer
67 views

How to use Custom Cache Type in Magento 2?

I have created a simple module to explore the custom cache in Magento 2 but my code isn't working fine. May someone please check my code below and let me know what am I doing wrong? 1) app/code/...
1
vote
0answers
28 views

Magento 2 Intermittent Cache Issue - Showing a JSON code Instead of Homepage

We have a multi store running with Magento 2 and sometimes when we try to load the homepage it shows the JSON below instead of the home page, it only works again if we clean cache. Strange enough is ...
5
votes
2answers
190 views

What is the purpose of http_cache_hosts entry in app/etc/env.php

I have configured Varnish cache in local Magento 2 environment and It is working fine. I have added below lines in app/etc/env.php file. 'http_cache_hosts' => [ [ 'host' => '127.0....
0
votes
0answers
10 views

changes are not showing init.xml in magento 1

In Magento 1 - custom theme,path - app/design/frontend/xyz/xyz_abc/etc/init.xml init.xml <layout_handle_2><![CDATA[]]></layout_handle_2> <position_2><![CDATA[]]></...
0
votes
1answer
43 views

“catalog:images:resize” on multistore, run on specific store only?

Surely this is possible Magento...💩 I have searched the internet for a while and read the docs here and here. I have a multistore setup. One of the stores has billions of products. One of the ...
0
votes
0answers
31 views

Fatal error: Uncaught Error: Call to a member function getAllOptions() on boolean i/includes/src/Mage_Core_Model_Cache.php

After I cleared the var/cache, var/session and var/locks folder now this: What can i do? Please help!! Fatal error: Uncaught Error: Call to a member function getAllOptions() on boolean in /...
1
vote
2answers
29 views

magento 2.3 in live site css changes not taking it always taking old css which not exits

I am using magento 2.3.2 after development I have upload it in the live site and every thing was working perfectly then i hav installed mirasvit cache warmer in live then when ever i try to upload new ...
2
votes
2answers
56 views

Magento 2 : \Magento\Customer\Model\SessionFactory $customerSession is not working with FPC

If we need to get current customer sessions in a block, cacheable must be set to false in the layout XML. I am using \Magento\Customer\Model\SessionFactory $customerSession in my block but it is not ...
0
votes
1answer
46 views

How does $block->customerLoggedIn() work with Magento's cache?

I see there are two ways Magento2 renders content in the header for logged-in vs logged-out customers. With KnockoutJS in header.phtml With PHP in customer.phtml Which is considered best practice? ...
0
votes
1answer
45 views

Magento 2 : disable cache for static block

In Magento, I can disable cache for static block by add cache_lifetime="null". {{block type="core/template" cache_lifetime="null" title="BEST SELER!!!" sku="ASS030530010" template="catalog/product/...
1
vote
3answers
41 views

Why after deploying static content I'm receiving 404 to merged css?

I'm using Magento 2.3.3, after deploying some category pages are getting the wrong css, returning 404, I tried flushing the cache but it didn't work. How could I solve it?
0
votes
0answers
10 views

ZendDb Adapter Exception

While running cache flush bin/magento cache:flush command the following error is thrown, [Zend_Db_Adapter_Exception] SQLSTATE[HY000] [2002] Connection timed out And [PDOException] ...

1 2 3 4 5 21