3

I have heard this but I cannot confirm it. Does anyone know?

asked Mar 6, 2017 at 16:54

2 Answers 2

9

It is true, you can see it mentioned the Dev Docs too if you want extra confirmation :

To create an uncacheable page, mark any block on that page as uncacheable in the layout using cacheable="false".

You can see that on this page.

Cladiuss
1,3011 gold badge15 silver badges29 bronze badges
answered Mar 6, 2017 at 17:25
3
  • So should this situation be avoided at all costs? Commented Mar 7, 2017 at 9:55
  • 1
    @LM_Fielding Unless you want to purposefully stop the whole page from being cached then yeah I would avoid. If you need to prevent one block from being cached take a look at hole punching methods. Commented Mar 8, 2017 at 9:49
  • I'm aware of hole punching methods, but thank you for the great tip! That is the reason I'm asking. Commented Mar 8, 2017 at 12:31
1

Yes it does. Full page cache will not be used on that page. But block cache and the rest works.

Block with Cachable=false not rendered on product view page

answered Mar 6, 2017 at 17:25
1
  • 1
    Of note, FPC is often responsible for the majority of caching performance gains, so thinking 'oh I'm just disabling one cache out of like 12' is usually a bad idea. Commented Feb 28, 2019 at 21:58

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.