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

Cache Clean setup is not working

After running the bin/magento cache:clean the setup gets 500 Error i saw the log means PHP Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/var/www/html/var/page_cache" is not ...
0
votes
1answer
11 views

Session, Default and Page Cache via redis

we are providing a multi store Magento 2 Shop on a multi webnode infrastructure. Sessions are handled by a redis docker on the DB Server. Is it useful to start new separately docker instances for ...
0
votes
0answers
8 views

Info_buyrequest not loading after editing quote on cart configure product page

I am running magento 2.3 using Redis as cache. When an item it added to the basket I store additional info into info_buyRequest. If I then goto the cart page and select edit I get sent to the cart ...
0
votes
0answers
14 views

php.ini on magento cloud readonly

I need increase some values in my php.ini from magento-cloud environment, but with my user with admin roles opens the file in onlyread mode. Searching I found this, wasn't succesfully Disable/Readonly ...
1
vote
0answers
26 views

Magento 2 Varnish caching add to cart session from another user

When adding an item to cart, it will also show a second item, which I have previously added to cart from a different device. If I bypass varnish cache, cart seems to work ok. Guess I am missing a ...
0
votes
0answers
16 views

Magento 2 - Site loading forever and nothing happens, until I delete cookies

I am developing using grunt. After flushing the cache, It often happens lately that the site is loading forever and nothing happens. There is no error logged in the console and the browser console ...
0
votes
0answers
10 views

gclid applied to links within the site

Magento 2 site. I've been told that this is due to the site caching versions of the page which contain a gclid or a fbclid in the url. It occurs intermittently and is impossible to keep on top of as ...
0
votes
0answers
17 views

Really big cache files

I have tons of cached files in var/cache/mage--... folders that are named like this: BLOCK_EAAA81C2B03F53B9841775345609AD7DFA54C002_168_FINAL_PRICE_LIST_CATEGORY_PAGE_EUR_20210322_1_1_5 The file ...
0
votes
0answers
6 views

Cache issue with saving configurable field programatically

I am saving a configurable field programmatically by this code: // @var Magento\Framework\App\Config\Storage\WriterInterface $this->config->save('custom/general/average_score, 100); The code ...
0
votes
0answers
29 views

Update special prices: Problems with cache invalidation

i have strange problem/issue/bug/feature ... whatever... Case: Every day on defined times a module will import a few special prices for some products. So in this case the cache and the index has to be ...
2
votes
1answer
27 views

Magento 2 : Get invalidated cache types

I am creating a module that clears invalidated cache, I am trying to get invalidated cache types in controller, so i can clear cache for only cache types which are invalidated. How to invalidated ...
0
votes
2answers
45 views

Is there a need in Magento 2.4 for Cache warmer extension or Google Page Speed Optimizer?

Magento ver. 2.4.2 4 x 2.50 GHz Cores 8 GB RAM 5 TB Bandwidth 5000 Mbps Network Out We used to run Magento 1.9.4 but are switching to Magento 2.4.2. Every time I installed Magento 2.x it always ...
1
vote
1answer
35 views

Magento 2 : Cache types (When to clear which cache)

Here i am talking about magento 2 default cache. I am looking for a clean idea, when to clear which cache. For example if change made to layout file, we can simply execute one php bin/magento c:c ...
0
votes
1answer
26 views

500 internal server error after terminal commands

I have an issue with Magento 2 commands. Every time I do : bin/magento setup:upgrade bin/magento setup:di:compile bin/magento cache:flush bin/magento cache:clean rm pub/static, etc... ... I get 500 ...
0
votes
2answers
37 views

Magento2: How to serve cookie-less cached version for crawlers on Varnish cache

As far as i know; magento assign a X-Magento-Vary cookie to each visitor first you visit website. So your first request always be non-cached version. After you got a X-Magento-Vary you see cached ...
0
votes
0answers
17 views

Magento2 - After deletion of product, how to delete /avoid auto generation of placeholder (ghost) pictures?

we deleted products and its associated images from /pub/media/import /pub/media/catalog/product/ Also from /pub/media/catalog/product/cache/ However, the images re-appear, not the original image, but ...
1
vote
0answers
11 views

Magento2: Images are not shown on second website

I've created a second website, with separate store and store view, where i wish to show only some of the products of the main website. I'm having some problem with images, even tho not consistently. ...
0
votes
0answers
9 views

504 Gateway time out error after Cache Flush

After doing the Cache flush I am getting 504 Gateway time out error and after 5 mins the application is starting otherwise I have to restart the server manually I deploy my application in AWS.
1
vote
1answer
60 views

Magento with Varnish - var/cache folder still being used

I have a Magento store configured with Varnish. When everything is up to date site is fast. If I change something in the backend it doesn't get reflected on frontend unless I manually delete var/cache/...
0
votes
0answers
35 views

Magento 2.3.2 - Very weird checkout cache issue

Hoping someone can help here. We have a Magento 2.3.2 website. There's nothing particularly special, functionality wise about it. It uses cloudflare, which could be a cause, but the hosts assure us ...
0
votes
0answers
10 views

Tax required field not working with multi-website 2.4

I have a Multi-Website where I want the tax to be required for one website and optional for another website, Website reloaded first takes the configuration option for both websites. Facing Catch issue....
0
votes
1answer
34 views

Uncache dynamic blocks in cms page using Lesti FPC

I have two blocks that deliver dynamic data, set up in a CMS page. One block is a button that needs to look activated if a DB record is found and says "Download (PDF)" or be grayed out with ...
0
votes
1answer
20 views

Deleted files won't go away

I have a file that's auto generated by my theme. It's called design_storename.css There are a few changes that weren't updating on my site, so I deleted that file, changed another setting and it ...
0
votes
0answers
17 views

How to prevent Host Header Poisoning in Magento 2?

I'm using magento 2.4.1 , i tried to make a GET request, i added ':22345' as suffix in my host header so it will look like this: when I invoke this code in phtml file echo $block->getRequest()->...
0
votes
0answers
12 views

in env.php correct?

I have noticed that when I run bin/magento index:reindex && bin/magento cache:flush my cache folder continues to grow until the server runs out of space (around 350GB). The only thing I have ...
0
votes
0answers
7 views

Configurable product is showing varation for for first time but then variation is not shown

I am facing a weird problem , the configurable product is showing variation Some products are showing variations and some are not they are having same attributes filled up at the backend Kindly guide ...
0
votes
0answers
17 views

Magento product catalog not showing

I am running Magento 2.3.3 and I an issue with product catalog images not showing both on frontend and adminhtml. I have seen that it is a common problem, but I tried all recommended solutions, but ...
0
votes
1answer
32 views

Local site not loading after disabling two factor auth module and clearing cache in magento 2.4.1

I have installed Magento 2.4.1 via composer install, then I tried to log in to the admin it asks for two-factor authentication, I have disabled the two-factor authentication using the command (bin/...
0
votes
0answers
19 views

Should the Cache automatically update after I change a CMS Page?

In my Magento 2 store, I always have to clear page cache after I update a CMS page (FPC is through Varnish). I have been doing this for some time but recently stumbled upon another thread suggesting ...
0
votes
0answers
17 views

Magento 2 with redis site not loading

I have configured the Redis cache as per Magento documentation. But if I run the cache:flush command the site loads lot of time and I'm using AWS RDS, The CPU of the RDS instance is 100% used. I also ...
0
votes
1answer
101 views

Change js file in production mode

I changed this file app/design/frontend/VENDOR/THEME/web/mage/validation.js But changes are not reflected; I'm in production mode I deployed static content with bin/magento setup:static-content:...
0
votes
0answers
16 views

How to clear swatches cache when there is an update from an external source?

I have some changes where swatches should be greyed out for some product depending on its stock in physical stores. I get the stock in physical stores from a webservice (which is ran every 5 mins by a ...
1
vote
1answer
30 views

How to use redis endpoint in magento 2.1

i am unable to add redis endpoint in magento 2.1 below is my code that i added in "etc/env.php" Please let me know what i am missing 'cache' => array( 'frontend' => ...
0
votes
0answers
13 views

How to properly integrate Magento 2 with Cloudflare cache

I just enabled Cloudflare cache with my magento 2.3.4 , the problem is most of the image and js file cache status is always MISS: Is this related to the server configuration or magento 2 .htaccess ? ...
1
vote
1answer
296 views

Magento 2.4 Varnish error 503

I got a copy of my Magento in another server, all checked permissions, vanilla installation, domain, but I don't find the issue, I keep seeing this error message below. Error 503 Backend fetch failed ...
0
votes
0answers
8 views

The slider does not cache the first picture. After uploading, the picture is uploaded again

Found a module on github. https://github.com/braumach/site/tree/7bead239da0d181193f77540dd0c0cda791e88d8/app/code/TemplateMonster/FilmSlider It implements a slider with a constructor in the admin area....
0
votes
1answer
25 views

Disable cache for product prices

I'm using Magento 2.3.5 and I have a requirement where I need to disable caching of product prices (both in catalog view and product view pages). I read the product prices from an external service and ...
1
vote
1answer
191 views

What is expected files size in var/cache/

Some files in var/cache/ folders are as large as 300Mb is this considered as normal or something is wrong with my Magento? (see screenshot) Iam running Magento ver. 2.4.0 with up to 2000 products, ...
0
votes
2answers
131 views

Varnish doesn't display full page with Magento 2

I'm having a weird issue while configuring Varnish with my Magento 2 store. My setup is such that I'm using a frontend server that routes the requests first to Varnish and then to Apache (as a ...
0
votes
2answers
48 views

Magento 2 : Module is disabled, shows in disabled list, but the functionality in admin remains

I have a module that I disabled that adds background patterns to individual product pages. We want to remove the functionality. So I ran the CLI command to disable the module. I listed the modules in ...
0
votes
1answer
452 views

Varnish cache always MISS on dynamic pages

Varnish doesn't seem to be working properly for dynamic pages, it always returns a MISS in the response headers whether the request is coming from the browser or the CLI (curl/wget). curl -IL -X GET '...
0
votes
1answer
199 views

Redis HGET is consuming too much of time

One of my client M2 store is using Redis for session and cache storage. On inspecting the New Relic, have noticed that HGET is consuming hell lot of time Redis Configuration: Local Redis connected ...
0
votes
1answer
13 views

several times a day my pages come in written lines, clearing the cache helps, what goes wrong

several times a day my pages come in written lines, clearing the cache helps, what goes wrong magento 2.2.5
0
votes
1answer
63 views

Customer login only working in private browsing

When a customer tries to login to his account, it redirects right back to the login screen. The text on top changes to way "Welcome, ", but the customer can't actually see anything in his ...
0
votes
4answers
115 views

Magento 2: How to make Product image uploader rename the image file if the same filename exists?

I'm using Magento v2.3.4 and Cloudflare to cache CSS, js, and images. The problem is when i tried to upload the product image from the backend using the same filename and extension, the image uploader ...
2
votes
1answer
29 views

How change Magento2 config cache behavior

In my project with 100's of websites in multi-store mode, several seconds on every request are used to unserialize the config cache. It appears that Magento builds and compiles the config-cache from ...
2
votes
1answer
132 views

backend_clean_cache cron never completes

If I run SELECT job_code,scheduled_at,executed_at,finished_at FROM cron_schedule where executed_at is not null and finished_at is null; I can see backend_clean_cache never completes Has anyone had ...
0
votes
1answer
39 views

Magento extremely slow

My server TTFB wait time is 14 seconds , Total loading time is 24.5 seocnds I have attached my waterfall for GT metrix: How can I deal with it ?? I am done with following : I have minified css and JS ...
0
votes
1answer
94 views

Full-page cache breaks store switcher

FPC is activated on the site. When I switch the store view on the Home page the Category page changes the language but the switcher remains unchanged. The store code is added to the cookie correctly. ...
0
votes
0answers
27 views

Magento website goes down(loads without css&images) very frequently, but after restarting Redis services, website is up again

I am new to Redis and Magento both, so please ignore any misleading/non-correct terms, I am working on Magento V1.9.2.4 configured Redis V3.0.7 with Mage_Cache_Backend_Redis, we have OS REDHAT 7.x ...

1
2 3 4 5
23