Questions tagged [caching]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
31 views

Magento2 - Why Varnish is better the Full Page caching in Magento2

Magento2 officially recommend to use Varnish on production as it's much faster than the built-in cache, but they don't describe why it's better than the Full Page cache and what are the missing ...
0
votes
0answers
25 views

What happens if I set cacheable=“true” on a block but don't specify cache_lifetime?

Studying up for M2 cert. Ran into an interesting scenario regarding block caching. Please let me know if my assumptions are in line with reality: blocks are not cacheable by default at the block ...
0
votes
0answers
28 views

Previous customers name showing in cached static block

I wanted to build a static block in Magento where when a customer logs in they see there name with a welcome message (dependant on name length), however it appears on implementation that the previous ...
3
votes
7answers
2k views

How to completely disable cache for development?

I am developing a script which is in the skin folder. I lost many hours because of the weird caching mechanism of Magento. I already disabled all the caches in the backend, but it still caches. I ...
0
votes
1answer
446 views

Lesti FPC is caching the minicart on header

I managed to get Lesti FPC working with memcached, but I quickly ran into a problem. When I add an item to my cart from any page and go back to the homepage, it shows that my cart is empty. I ...
1
vote
0answers
106 views

Magento 2 : Flush Magento Cache Results in Site Speed Up

I've been noticing that flushing Magento cache (by clicking on the "Flush Magento Cache" button) speeds up both Magento frontend and Admin panel. Page load speed eventually returns to a slower state, ...
0
votes
1answer
23 views

Refreshing cache is necessary to see the results of a controller action (delete)

I have a table of data, I added a delete button in each row. The controller action is well executed and the row is deleted, but I need to manually refresh Magento cache (FullPageCache to be precise) ...
1
vote
0answers
153 views

Magento2: custom header.phtml stays cached forever!

I have a child theme, and uploaded a custom header: header.phtml. Right after I uploaded, it showed it correctly in the front-end. However, changing something in this custom header, never reflects ...
2
votes
1answer
160 views

Fastly CDN not refresh custom page

We have Fastly CDN configured in Website, and we have a custom page where we are displaying product listing. When admin makes changes in the product, it's reflecting correctly in front-end product ...
4
votes
1answer
662 views

Magento 2: How to disable caching for the header block?

I just go through other similar questions but they didn't help much. As per suggested in some answers to put the cacheable="false" in block will disable it. But it will disable whole page caching as ...
0
votes
1answer
275 views

Clearing Full Page Caching on product stock change Magento2 custom product listing page

I want to clear full page caching on my custom product listing page in my module if any product get out of stock. Actually I need to show "out of stock" label on the products that are not in stock but ...
1
vote
0answers
353 views

Caching magento 2 (with CDN)

On a local server I have a test-instance of Magento 2, by running a new build on that server and then rsyncing the code to the production, I switch to a new without downtime. Recently I have added a ...
1
vote
1answer
41 views

How Magento2 Checks If To Serve Request From Cache Or From DataSource?

Example: We have a Full Page Cached Category Page, How System Know Weather To Send Cached Data as a Response, Or Hit Database and Send response. If it uses any cache tag, where does it check?
6
votes
1answer
3k views

Edge Side Includes (ESI) in Magento 2

I went through an article about MAGENTO 2 CACHING OVERVIEW https://alankent.me/2014/12/09/magento-2-caching-overview/ It tells Magento uses ajax and basically rely on JS for showing private content. ...
0
votes
1answer
111 views

Magento : Extend Caching Time For External JS

I want to Increase Expire time for External JS how can I achieve this? Extend from .htaccess doesn't work for this. And We can use CDN for External JS , like zopim , zendesk , google fonts , google ...
0
votes
1answer
83 views

Magento some product suddenly disappear

We have Magento EE 1.14.0.1. recently we moved to new AWS EC2 server and ElasticCache Redis server. then some random products start disappearing in the frontend. They exist on backend and configured ...
2
votes
1answer
380 views

Disable Akamai For Magento Backend

We use Akamai for our CDN on our Magento store, and I'm running into some issues where it would be nice to disable the CDN for our admin area. Does anyone know a simple way to do this? I tried ...
0
votes
1answer
292 views

Caching problem after login

I am using FPC caching on my site. My problem is if customer visit some products page without login, and then want to write a review, he goes to login page and after log in when he come back to ...
1
vote
0answers
256 views

Magento 2: Block in Layout not Respecting Cacheable = False

I have a block my custom module. The layout file is called davecms_shopping_checkout.xml. Lets assume the module name is davecms and it has a route with a name and id as ...
0
votes
2answers
2k views

How to prevent browser caching for merged files?

I'm using magento 2.1.2 in production mode with merge/minify/bundle enabled. It works good and the created files like /static/_cache/merged/6c3c8136610cacb3de381ea2afc99190.min.js has header expires ...
2
votes
1answer
1k views

Magento2: Home page caching issue

I have added java-script in the footer like below and I am passing the customer email dynamically, but the same email id is displaying for all the customers because the page is caching. Please help ...
0
votes
1answer
88 views

Pressing “Flush magento cache” button in admin panel leads to “Currently unable to handle this request”

Please help me to understand the issue if my question is not related to "magento.stachexchange". Everything is fine in my magento installation but this button Pressing “Flush Magento cache” button ...
0
votes
0answers
353 views

Magento 1.9 - memcached not working while using in shared environment

I am configuring multiple Magento 1.9 instances on an amazon server. I want to store my sessions on memcached. for that I am using below configuration in my local.xml as suggested in magento. <...
0
votes
1answer
2k views

Disable page cache for a single block

I have created a new block to sit on the product detail page which contains dynamic content (the customer's recently-viewed products) that should not be cached. How can I switch off caching for that ...
0
votes
2answers
220 views

Cache Management

I would like to know more about Magento Cache Management. What these buttons do?? I would like to know about the functionality of these buttons. Flush Mangento Cache Flush Cache Storage Flush ...
0
votes
1answer
62 views

Is it possible that Magento doesn't transform my optimized images?

a graphic designer optimizes the images (products, galleries,...) for me, with good proportion of quality and compression,… and then Magento creates new images,… that are double size and not same ...
3
votes
2answers
853 views

Group prices are cached (Lesti_Fpc) and displayed to all visitors

We realized that the group price are cached and after log out, regular customer can see the discount, till we refresh the cache. How to solve this?
0
votes
0answers
43 views

Magento plugins Disable/enable problems

I am noticing really weird problems after installing plugins. Sometimes the plugins get disappeared in the backend when we refresh the backend and sometimes it appears in the backend. I havent used ...
2
votes
2answers
188 views

CMS pages which are include differenent static blocks are showing the all the same block [duplicate]

Because I wanted to include shipping and return texts in different CMS pages in a magento website, I used static blocks and was adding the following code so i don't have to make edits in all of them ...
3
votes
1answer
1k views

FPC no longer hooked up to redis? [duplicate]

I recently received the following ticket info regarding some caching issues on our magento installation, and have run into some stumbling blocks in diagnosing (thus obviously fixing, as well) the ...
0
votes
1answer
900 views

Calling $this->getChildHtml on a new block outside template file

I'd like to call $this->getChildHtml('product_type_data') to get product's price outside view.phtml template file. Currently I have echo $this->getChildHtml('product_type_data') and that ...
1
vote
0answers
31 views

working with cachekeys Enterprise Edition 1.9

So I want to make sure magentos FPC doesn't mess things up in my header. Based upon some logic I will load one of two sections. Here is my thinking thus far: On view: create key(1) or create key(2) ...
1
vote
0answers
1k views

How to disable Varnish via Turpentine for logged in users [closed]

I'm struggling to find a way to completely disable varnish for logged in users using the Turpentine extension. I have a member based site, non-logged in guests can browse products but not see prices ...