Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cache]

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

2
votes
0answers
15 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,...
1
vote
0answers
18 views

Change image cache directory

Is there a way to change the directory that M2 uses as image cache to something other than /pub/media/catalog/product/cache ? I'm using Magento 2.2.3 at the moment.
2
votes
0answers
28 views

Custom plugin files updated code is not showing in admin panel though cache is cleared

I have created a custom module. Controller files are working fine. I am trying to update my module MySQL version and adding new fields to the module in block folder files but they are not applying in ...
0
votes
1answer
26 views

Magento 1.9.x after refresh cache, site not working

After refresh cache on admin page, site not working. Just show this message. Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in /home/...
0
votes
0answers
28 views

Update programmatically config content text/x-magento-init script inside of phtml template

For a requirement I had to override the config of the configurable.js script that is initialised inside configurable.phtml, this one specifically: <script type="text/x-magento-init"> { ...
0
votes
0answers
15 views

magento 2 button disable for review listing page not working

I have created 2 buttons in the review listing page in a custom module.on click, the button gets disabled after saving value using ajax request. when I reload the page, this becomes clickable with the ...
0
votes
2answers
34 views

Magento 2 Header Sign In Sign Out Issue on Home Page

I'm facing an issue on Magento 2.2 . The details are as under 1.Go to home page 2.Click 'Sign In' from header 3.Enter login credentials to enter customer account 4.Click website logo to go back ...
0
votes
0answers
19 views

Product detail page does not load at all

When browsing and clicking on this specific product, the PDP page does not load at all. No error, 404 page, or anything. please see : https://www.screencast.com/t/dnxtNFtzd8 However you can view the ...
0
votes
0answers
39 views

Redis session configuration breaks web setup page

I have an issue when it comes to using Redis as session cache. If I use Redis for session caching, I lose the ability to go /setup page. When I remove Redis related code, the page loads just fine. I'...
3
votes
1answer
94 views

Magento2 : Will cacheable=“false” invalidate cache in varnish cache?

I have store in Magento2 and planning to integrate varnish cache. Want to confirm if there is an issue with cacheable="false".
2
votes
0answers
13 views

M1: How to invalidate the fpc manually for a product page?

I need to investigate an issue around full page cache (fpc) in M1, because we sometimes receive 404 errors on product pages when the cache is invalidated - and no 404 pages anymore after the cache has ...
0
votes
0answers
11 views

Prevents the entire request from being cached by Magento 2 page cache

The isCacheable() function call at the Layout.php page is returning a NULL value, which prevents the entire request from being cached by page cache. vendor/magento/framework/Pricing/Render/Layout....
0
votes
0answers
28 views

Magento 2 Cache Directories

I have a new configured server using both nginx and php-fpm. I currently have two sites installed one v2.1 the other v2.2 (both on php7.0) The v2.2 site works fine with no issues. The v2.1 site ...
1
vote
2answers
37 views

Magento 1.9.3.2 - Exception printing is disabled by default for security reasons

I have just moved a Magento install from one server to another and now when I try to access the frontend I get the "Exception printing is disabled by default for security reasons" error. I have ...
0
votes
0answers
18 views

Magento 2 Remove redis cache after not update

I'm using Magento 2.2.6 When i remove Redis after everything not update(like upload new product not update etc..), My step 1.sudo yum remove redis 2.i have edit env.php already but can't still . ...
0
votes
0answers
42 views

Cache a product collection by a key?

I have added a collection to buff out related products with extra "most viewed" products from a products top level category. This is a slow query and takes about 0.2 seconds so was wondering if this ...
0
votes
0answers
16 views

Refresh Cache via JSON API

When there are changes to prices and/or currencies, the cache in Magento needs to be refreshed (there are also other times, but that is my current focus). The changes are sent via the JSON API, and ...
0
votes
2answers
38 views

Cannot access site to admin after disabling cache

I was attempting to install a Google Captcha extension from MageComp. In the install instructions it said: " It’s required to disable cache in the administration panel of your site. Go to System/...
0
votes
2answers
43 views

Disable magento image cache

Is it possible to disable Magento 2 image cache (it's consuming 41G), I want to use S3 for images since I expect our images to go over 2TB in few months, I am afraid generating cache on S3 may take ...
0
votes
1answer
114 views

X-Magento-Cache-Debug: MISS

I installed Varnish, but getting this message. Varnish cache not working. And check the var/page_cache/ directory is not empty.still have mage-tags file. i have in System > Full Page Cache > ...
0
votes
1answer
24 views

Magento 1.9 Caching Skin Files (CSS and JS)

Is there anyway to force client side cache. We would like customers to receive the latest updates made to CSS and JS files without them having to hard cache or clear their browser cache. We have ...
1
vote
0answers
18 views

Cache Expiring Too Quickly

Hey so I've been wrestling with this one for a bit now. I have our store pretty much setup and am in the performance testing phase trying to get the site as speedy as possible. I'm using Magento's ...
0
votes
2answers
24 views

Uncompressed Cache images

I have a magento store. i did a pagespeed test using "Google PageSpeed Insights" for my home page. In the recommendation google gave me some come cache images to compress. But sonassi image ...
0
votes
2answers
59 views

How to install and Configure Varnish in Magento 2?

How to configure varnish in magento 2? Selecting Varnish Cache in Stores Configuration is enough?
0
votes
2answers
27 views

How to disable cache for specific file?

I want to disable cache for a specific file which I am loading with a layout file. Is this possible? I tried it like this, because I saw it like this somewhere: <reference name="head"> <...
2
votes
0answers
53 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
2answers
82 views

Magento 2 checkout speed

Is it normal if checkout page takes around 17 - 20s to fully load until the loader image disappears and user can enter some data? I am running magento 2.3-dev branch in production mode, all the cache ...
4
votes
2answers
30 views

Refreshed Cache now rendering a mess

Had error bar in admin to refresh cache. Did so and now site is down and rendering looks like Prodigy circa 1993. Suggestions?
0
votes
0answers
14 views

How to make different cache for different store views in Magento 2?

I am working on making a Hindi version of my website. So basically, I have created multiple products with different product names and descriptions for each of the store views. I have a bunch of ...
2
votes
2answers
184 views

Cache issue (Images not loading)

Despite best efforts, I have images in cache that aren't loading, primarily because they are not present in the cache directory. I have tried clearing the media images cache. Short of deleting all ...
4
votes
1answer
174 views

How to disable cache for perticular template file in magento 1.9?

We have used full page cache but some particular part of section not reflected. for example, we have a select city in the dropdown but not reflected. check my site- https://vidyutbazar.com/ A ...
0
votes
0answers
20 views

Magento 1.9.2. - Stopping the image cache creation in the FTP (media / catalog / product / cache)

In my ftp the folder media/catalog/product/cache is very heavy, about 3.70 GB, this takes up a lot of space and creates problems in my web space. How can I reduce the large cache that is formed and ...
2
votes
4answers
77 views

Changes in phtml not visible in the browser

When I change a .phtml it is not reflected in the browser until after approximately 24 hours. I've tried everything, run php bin/magento cache:flush, check the permissions of magento_user. I'm using ...
1
vote
0answers
26 views

How to get collection from database in phtml not from cache when full cache enabled

I have created an extension which I have uploaded in the marketplace but marketplace rejected due to cacheable="false". <block class="Company\Module\Block\Hello" name="information" template="...
3
votes
1answer
49 views

How to cache a block in block_html cache type in Magento 2?

I have a block file that does heavy data processing due to which my product page PHP rendering time increases above 2 seconds. I have disabled page_cache in my Magento 2 system so i cannot use ...
1
vote
0answers
30 views

Can Anyone explain in details that how magento2 cache working?

Actually i have modified one file from cache directly in magento2 pub/static/_cache/merged/528a5a59b09a5ecbef1a.min.css After that i have run all the commands setup:upgrade setup:static-...
0
votes
1answer
210 views

I am getting error of page_cache is not writable in magento 2.2.5 in linux os

I am trying to add a grid in admin side. I am getting this error Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/opt/lampp/htdocs/magento2.2.5/var/page_cache" is not writable in /opt/lampp/...
0
votes
0answers
13 views

Activate cache systems based on environments

How can I enable only some types of caches in the Dev environment and activate them all in Production? Is there a way to write these configurations in static files like local.xml?
0
votes
0answers
21 views

Magento 2 : Cache issue on same window

I have a strange issue in my website (Magento 2.1.9), the changes made in backend not reflecting in frontend on the same browser. ( i have waited for 3 to 5 days - no changes happening) but when I ...
0
votes
2answers
140 views

Magento 2 Mini Cart values with Full Page Cache

Running Magento 2.1.10 CE, with multiple stores. We have all the cache enabled, with Full Page Cache running with Varnish. Having an issue with the minicart values since enabling cache Steps: 1- ...
5
votes
1answer
188 views

Magento1 Mage::getStoreConfig non cached value

Is there a way to get a non-cached config value from Magento using Mage::getStoreConfig without having to first flush the entire config cache?
1
vote
0answers
42 views

Magento2: Impossible cache clean

Impossible clean cache in backend: 1 exception(s): Exception #0 (Exception): Warning: is_file() expects parameter 1 to be a valid path, string given in /home/czasowe/domains/czasowewyprzedaze.pl/...
2
votes
0answers
44 views

Product's “Layout Update XML” code disappears from the site every 24 hours

I have some products with "Layout Update XML" Design updates (simple XML pointing to a template file; very basic and in the correct format). Every 24 hours after a cache flush, the code vanishes from ...
0
votes
0answers
12 views

Cache management on collection

I am creating a custom magento 2 module of a blog. I have a block : <?php namespace Formation\Blog\Block; class Posts extends \Magento\Framework\View\Element\Template { public function ...
0
votes
1answer
28 views

Magento Product Images in Cache

When I check /pub/media/catalog/product/cache/, there are many folders. Each folder contains the same images with different size. So I'm not sure about why there are same images with different size.
0
votes
1answer
93 views

Connection to Redis failed - Magento 1.9

I am getting this error while browsing to both front and backend of my Magento store : Connection to Redis failed after 2 failures.Last Error : (111) Connection refused Trace: public_html/lib/...
0
votes
1answer
9 views

Page gets blank randomly Magento 2

Site is built on version "2.2.2" and strangely page shows blank at random period untill we cleared the cache. Anyone has faced similar issue? Already checked https://github.com/magento/magento2/...
0
votes
0answers
72 views

cache_invalidate for catalog_product_{id} tag

main.DEBUG: cache_invalidate: {"method":"GET","url":"http:/","invalidateInfo":{"tags":["catalog_product_14745"],"mode":"matchingAnyTag"},"is_exception":false} [] This log in debug file for every ...
0
votes
1answer
46 views

CSS/JS not loading - Permissions error?

I seem to have had a permissions error in var and specifically var/cache. Both were previously set to 755, which has not caused issues before. This morning my CSV files stopped being generated by ...
0
votes
0answers
48 views

How to update mage-cache-storage once my action will complete in magento2?

enter link description here from here I want to added from mage-cache-storage once my action complete Can anyone help please.