Issue with observer core_block_abstract_to_html_after

#1
hello,

i have the extension (https://github.com/bobbyshaw/magento-footer-js) which moves all JS to the footer, which calls on event core_block_abstract_to_html_after, inline too, But with the enabled FPC only js file moves to the footer.

Is there are any solution for this? Maybe there is an event for the extension which i can call before FPC render?

Thx
 

Pong

Administrator
Staff member
#2
When ESI (Hole punch) is involved, any javascript transformation should be disabled. As ESI block will be retrieved by separate request, and server will resemble final result together. Any javascript minimizer will also get wrong result.
 
Last edited:
Top