Skip to main content
7 events
when toggle format what by license comment
Aug 18, 2013 at 0:30 vote accept philwinkle
Aug 18, 2013 at 0:30 comment added philwinkle OK I understand now. Having messed around with it, my particular approach was (mistakenly) the correct approach for my particular situation - a custom module route that mirrors a category page under extreme peak during a television appearance. My custom route would not cache, so it fires events. However the _forward does pull the FPC version of the catalog page. However, this is not the usual application for this type of situation. I will accept your answer because I think that it addresses the actual question at-hand. Thanks!
Aug 17, 2013 at 5:07 comment added philwinkle Is my custom route loading the fpc version after my otedispatch??
Aug 17, 2013 at 4:53 comment added davidalger @philwinkle if the page has been cached, Magento's routing system is not loaded, and thus those events are not fired. If you must rely on getting them, then you need to prevent it from being cached by FPC and/or varnish if used.
Aug 15, 2013 at 14:10 comment added Dmytro Zavalkin But category won't be cached by FPC with $request->setParam('no_cache', true);, so each time your observer should be fired again and again. Are you sure page is still cached with 'no_cache' => true?
Aug 15, 2013 at 13:49 comment added philwinkle This was my first attempt - the problem I'm having is that the observer never fires once the FPC has stored the page. Maybe it's a chicken-and-egg sort of problem? Any thoughts why postdispatch doesn't fire on direct requests when FPC is involved?
Aug 15, 2013 at 10:42 history answered Dmytro Zavalkin CC BY-SA 3.0