Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6942877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:04:57+00:00 2026-05-27T13:04:57+00:00

How can I disable or bypass FPC for a single page? I don’t want

  • 0

How can I disable or bypass FPC for a single page? I don’t want to use hole-punching as there are several blocks on the page that I need to be dynamic and I would rather modify one config/class to specify that the entire page should not be cached (similar to the behavior of checkout).

My understanding of FPC was that it was not used for “session users” (logged in, added to cart, etc…). However, I’m seeing FPC affect pages when a user is logged in. If I disable FPC, then the page works as desired.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:04:58+00:00Added an answer on May 27, 2026 at 1:04 pm

    Here is the solution for disabling FPC for a specific controller (could be extended to specific action as well).

    First create an Observer to listen on the controller_action_predispatch event:

    public function processPreDispatch(Varien_Event_Observer $observer)
    {
        $action = $observer->getEvent()->getControllerAction();
    
        // Check to see if $action is a Product controller
        if ($action instanceof Mage_Catalog_ProductController) {
            $cache = Mage::app()->getCacheInstance();
    
            // Tell Magento to 'ban' the use of FPC for this request
            $cache->banUse('full_page');
        }
    }
    

    Then add the following to your config.xml file for the module. This goes in the <frontend> section:

    <events>
        <controller_action_predispatch>
            <observers>
                <YOUR_UNIQUE_IDENTIFIER>
                    <class>YOURMODULE/observer</class>
                    <method>processPreDispatch</method>
                </YOUR_UNIQUE_IDENTIFIER>
            </observers>
        </controller_action_predispatch>
    </events>
    

    Now Magento will serve up your page every time and bypass FPC for the request.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can disable viewstate of each control, but not entire page. Is there a
Is there any addon by which I can disable all catch blocks temporarily. I'm
How can I disable the header click for jQuery tabs. I only want to
How can you disable the send -button if there is one or more input
I have several JComponent s on a JPanel and I want to disable all
How I can disable debugging errors in my C++ application, the Send and Don't
Is there any way I can disable expanding TreeNode after doubleclick?? Thanks
Is there any way I can disable all mouse click events in Emacs? I
Quick question. Does anyone know if there is a way you can disable the
Is there any way I can disable all external CSS in a browser (Firefox,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.