pleas help me with my problem. I try to display cms block on cms homepage via widget. It works only when i have full page caching disabled. Is there a way to display this block with FPC enabled?

Any help would be appreciated. Thanks in advance.

| improve this question | | | | |

Since Magento 2 doesn't have a hole punching feature in case of FPC.
So You have to rely on Javascript to make it renderable asynchronously.


  • Create a place holder for cms page (which later will be fed asynchronously)
  • Inject JS to the page to get block content by cms-id
  • Update the placeholder with the asynchronous response (mostly Ajax)
| improve this answer | | | | |
  • thanks for answer, but i have problem with magento 1.9 – SebastianT Jul 3 '19 at 9:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.