Stack Exchange Network

Stack Exchange network consists of 175 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 [holepunching]

Hole punching is a system that allows you to mark certain sections of a page to be loaded each time and never cached while still caching the rest of the page. Bolt will load a page from the cache and then fill in the holes with dynamic content.

0
votes
0answers
52 views

AJAX login/register with Amasty_Fpc does not update full page cache

When you log in with an AJAX request, the full page cache is not updated when using Amasty_Fpc. This happens only on the page on which user log in. The problem is observed with many modules (for ...
2
votes
0answers
74 views

Magento 2 - Page cache with hole punch

Magento page cache cached some of the blocks that has dynamic value, like Wishlist count on header for logged in customers I can make it dynamic using Ajax, but then it came to my knowledge that it ...
0
votes
0answers
12 views

Magento 1.9: Hole Punch caching for bundle product (Select Option)

I need create hole punch for Bundle product options. Whenever any bundle item stock becomes out of stock, Admin needs to clean cache every time to get the reflection. I have tried by following code ...
3
votes
1answer
234 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
565 views

How to use Identities for to implementing hole punching in my custom module magento 2

I tried this link link Not working for me. Any other way to achieve the hole punching.
1
vote
0answers
31 views

Magento 2.1 : How to create dynamic custom header link without using cacheable = false

The cacheable = false works fine, but fpc gets completely disabled and pages are too slow. Here is the default.xml <referenceContainer name="header.panel"> <block class="Custom\Mod\...
4
votes
1answer
649 views

Hole punching full page cache on magento 2

I'm working in Magento 2 industry as a developer. I'm in a situation that i need to make a hole punching for a specific block. The block contains the reviews got from Trustpilot. I use curl to call ...
1
vote
1answer
1k views

FPC (lesti) won't holepunch certain area [closed]

Working on a webshop with lesti:fpc + redis and magento caching. Now i encounter the problem that (when lesti fpc is enabled) holepunching a certain module isn't working. The part view2.phtml (...
1
vote
1answer
370 views

CMS Page Breadcrumbs Cache Issue

I am having an issue with breadcrumbs on Magento EE 1.11.2.0 The problem is: when multiple pages are being processed by FPC the CMS page picks up breadcrumb title from another page. e.g. if http://...
3
votes
0answers
190 views

Full Page Cache - Hole punch for timestamp

Many of my templates require a timestamp (for timers), when implementing full page cache (using nitrogento) the timestamp gets cached too which ends up showing wrong timestamp. What methods can I ...
1
vote
0answers
98 views

How to holepunch a block inside a $productCollection loop?

I'm trying to create a block inside the category/list page, that is not cached by FPC. Specifically, I have an addtocart block that requires some logic depending on user configuration, this ...
2
votes
2answers
924 views

What's the difference between `getCacheKeyInfo` and `_getCacheId`?

What's the difference between getCacheKeyInfo and _getCacheId? Why _getCacheId is not enough to cache a block?
5
votes
1answer
2k views

Cache blocks that contain form_key (i.e. dynamic content)

I wonder, if there is a best practice to use block caching for blocks that contain a form with the form_key input (CSRF token). I am not talking about full page cache hole punching, but the standard ...
4
votes
2answers
2k views

Hole punched block doesn't load within full page cached page

Intially when the cache is cleared and I visit a page the block and corresponding template load perfectly. Then, when I revisit this page the block isn't loaded at all. Am I missing something in ...
0
votes
1answer
345 views

Adding items to Cache Storage Management

I'm using FPC with redis. I'd like to be able to flush the homepage or category pages from this page. How to I add these items to the Cache Storage Management? Hole punching? But how do I link the ...
0
votes
1answer
362 views

Cache Hole Punch Block

I'm wondering if it is possible to hole punch the block cache, or if I need to rethink how the block is being included. The PHTML file is being brought in with a _parepLayout() method in a module (...
1
vote
2answers
1k views

Hole-punch Extendware primary cache

I'm working with a copy of Magento 1.4EE which has Extendware FPC installed. I'm trying to get breadcrumbs working properly for products that are within more than one category. This is my first time ...
0
votes
1answer
863 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 ...
2
votes
2answers
1k views

Disable FPC for controller

So normally when implementing FPC we'll holepunch certain blocks out that have dynamic data. What I can't seem to figure out, is there not a way to holepunch a url. So for example if we have /index/...
3
votes
1answer
1k views

Punch hole in FPC for a static block inside a CMS page, without a custom module

On the homepage of our site, we have 3 banners which are contained in a static block inside the CMS page of my homepage. The static block also contains a widget, the widget select random banners ...
4
votes
2answers
6k views

How to hole punch a child block added inside catalog/product/list block

Scenario: I have category landing page, in which another vendor has customized to add "Purchased" text instead of "Add to cart" in case the user has purchased it, hence this will be different for ...
6
votes
2answers
8k views

Issues in implementing Holepunching in Magento FPC

I have a block close to what the 'welcome' block in the header is but slightly different. Holepunching does not seem to be working for me I have mostly referred to this link. Here's my code: I have ...
18
votes
1answer
3k views

How to hole-punch full page cache without custom module

Our full page cache seems to be based on session. If I open an incognito window with chrome and visit one of the pages, it warms the cache, and the second page load is much faster, however, if I close ...
8
votes
1answer
165 views

Theme level placeholder xml

I am developing a custom theme for Magento on top of Enterprise and we're trying to use full page cache. We recently discovered that we need some custom placeholders (aka hole punches) in our theme so ...
10
votes
1answer
676 views

Holepunching of header in magento store

I have implemented holepunching of header in magento, and even though I have got it working on a per customer basis, I need the ability to take this one level deeper by making it work on diff cart ...