Config FPC Placeholder Definition

Updated . Posted . Visible to the public.

This should go in cache.xml. See Boilerplate FPC No-Cache Container for a boilerplate container.

<config>
    <placeholders>
        <namespace_module>
            <block>namespace_module/something</block>
            <placeholder>NAMESPACE_MODULE_UNIQUE_STRING</placeholder>
            <container>Namespace_Module_Model_Pagecache_Container</container>
            <cache_lifetime>86400</cache_lifetime> <!-- never gets used -->
        </namespace_module>
    </placeholders>
</config>

Mike Whitby
Last edit
Keywords
holepunch, hole, punch, full, page, cache
Posted by Mike Whitby to Magento (2012-02-16 10:41)