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 that Magento can correctly cache and serve up our pages. All of the examples I see for adding additional placeholders involve custom modules or editing core xml files. Because this is a multisite instance with several other unique themes I don't really want to clutter up global namespaces and have a collisions as we grow.

Is there a specific / standard theme level XML file where all fpc placeholder XML should go?

1 Answer 1


You will need to create a custom module in the local code pool, preferably under your own namespace. There are not any theme specific XML files which you can locate the placeholder info in. Everything in the theme is loaded into the layout, which is handled completely separately from the placeholders found in cache.xml.

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.