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

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

0
votes
2answers
19 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
34 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
25 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
14 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
38 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
29 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
11 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
45 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
32 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
10 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
50 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
21 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
33 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
29 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
86 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
12 views

How to display Grouped Product images in an order email

I am currently developing a Magento website and am trying to figure out how to display product images within the order email. I've had a good look around here and stack overflow and tried using code ...
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
17 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
61 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- ...
4
votes
1answer
158 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
22 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
38 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
11 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
26 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
0answers
47 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
41 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
40 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
21 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.
2
votes
1answer
20 views

Magento + Redis: same config for two different instances - safe?

Can I use the exact same config for redis for two different magento instances or do they access / write to the same cache? F.e. I have a "production" and "staging" instance of magento which have their ...
0
votes
0answers
38 views

Magento Stop Caching my Registry Key value

I am currently incorporating Google reCaptcha, it all works well apart from multiple forms on a page. Whereby I get the already rendered issue. To combat this a registry flag is set: public ...
2
votes
1answer
66 views

Is hole punching cache method working in Magento2? How to implement in Particular Block in Magento2?

Can anyone please explain hole punching Cache method and how to implement in particular one block in Magento 2.
1
vote
2answers
58 views

Page doesn't contain HIT in cache header

I am publishing my magento extension but in the revision I was notified of the issue: Does anyone have any useful help?
0
votes
0answers
18 views

Magento 2 clearing cache per customer group

Is it possible to clear the cache just for 1 customer group? If yes how do you do this?
1
vote
1answer
28 views

How to disable js/css cache?

I try to develope a js script but I always have to clear the cache and wait about a minute until the changed file is loaded. Even emptying the folder /var/cache does not help. Is it possible to ...
0
votes
0answers
22 views

Magento 2 Configurable product price missing FPT

We have a custom functionality that switches delivery country dynamically on a customer session. Based on this FPT is added to the price. We have a problem for configurable products. Once the product ...
0
votes
0answers
15 views

Magento 2 - block_html invalidate

I am looking to find the out where / how Magento 2 decides if the block_html is invalidated and needs refreshing? Please could anyone point me in the right direction The reasoning for the question is ...
2
votes
0answers
56 views

Error When i Re Enable Cache in Magento 2.2.5

i Have Disabled The cache of magento before editing my store and when i try to re enable the all cache and try to visit my store i'm getting this error : "There has been an error processing your ...
2
votes
0answers
29 views

Strange (browser) caching issue in cart

We had a third party build our initial website and I am in the process of 'fixing' things that were not done as well as we might have liked. One such issue was the manner they used to handle pages ...
2
votes
1answer
20 views

Changing/deleting cache causes system crash?

this is not my first post about this issue, but i've finally found what could be the cause of my problems. It seems that deleting or "changing" my magento cache causes my site to crash. I've deleted ...
0
votes
2answers
116 views

Magento 2 : Disabling Cache For Specific Block

In my module, I am adding small snippet to every page on site with layout file, that I have attached below. The thing is, I would like to disable caching for my module. How do I do that without ...
0
votes
0answers
17 views

Magento 2.2: Base URL removed when attempting to access admin login

Was having problems yesterday with my server, which the community seemed to think were irreparable, so I decided to rebuild it. Set up a LAMP stack with Redis and re-installed magento. Used my ...
1
vote
1answer
33 views

Help with product images generated in cache

I have added clear, higher resolution images in admin panel but don't know why the images looks a lot transparent in front end. URL: store.enconnex.com Please help.
1
vote
0answers
23 views

Issues with Database

If I update the prices, SKU's etc.. in admin they will reflect on the front end but the grid inside admin still shows the old data. I have tried re-indexing and optimising the database but this ...
1
vote
0answers
21 views

Cache System and Cookie reading Magento 1.9

In the header.phtml I have a DIV which gets visible only when a cookie is NOT set in the browser. <?php if (Mage::getModel('core/cookie')->get('cookiex') == '') { ?> <div></div&...
0
votes
1answer
154 views

Magento 2 full page cache invalidates everything

i do not know if this is a bug or by design. I have been searching and getting a lot of mixed signals. running magento 2.2.5 with built in cache and redis. i dont know why, but when i change 1 ...
0
votes
0answers
17 views

M1 cache corruption race condition?

we are running a Magento 1(.9) store here with quite a bunch of extensions. In order to get a hand at the indexing performance, we just deployed Fast Asynchronous Re-indexing. All working basically ...
0
votes
1answer
25 views

Which Magento 2 core function creates the url for the static folder files including css, js and images

I want to add a parameter at the end of the static content urls, but i am unable to find a global method where i can make a change and it starts reflecting on the all static content urls. My file and ...
0
votes
1answer
24 views

Is it possible to push the modified css or js file without changing static version number into the customer browser?

At present when we modify the JS or CSS file, the only way to update the Customers browser is to change the sign for static files globally by running static-content:deploy or at most we can give --no-...
0
votes
1answer
15 views

Are there any benefits of using Apache's mod_cache_disk with Magento 2?

I'm currently configuring a web hosting server (Ubuntu 16, Apache 2.4, 8GB RAM, 6 Core CPU) with about 20 Wordpress and Magento 1.9.X/2.2.X sites and would like to optimize it for speed with Apache's ...