1

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\Block\Account\SponsorHeader" name="float.sponsor"  template="account/sponsor.phtml" >
        <arguments>
           <argument name="css_class" xsi:type="string">header links</argument>
         </arguments>
    </block>
</referenceContainer>

Is there any other way without using cacheable = false ?

Your Answer

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

Browse other questions tagged or ask your own question.