Skip to content

Instantly share code, notes, and snippets.

@Flyingmana
Last active December 23, 2015 04:39
Show Gist options
  • Save Flyingmana/6581194 to your computer and use it in GitHub Desktop.
Save Flyingmana/6581194 to your computer and use it in GitHub Desktop.
improve magento performance by deactivate db logging and a few page parts
<?xml version="1.0" encoding="UTF-8"?>
<config>
<modules>
<Cotya_Performance>
<version>0.1.0</version>
</Cotya_Performance>
</modules>
<frontend>
<events>
<controller_action_postdispatch>
<observers>
<log>
<type>disabled</type>
</log>
</observers>
</controller_action_postdispatch>
</events>
</frontend>
</config>
<?xml version="1.0"?>
<layout version="0.1.0">
<default>
<remove name="top.search"/>
<remove name="left.permanent.callout"/>
<remove name="right.permanent.callout"/>
<remove name="catalog.compare.sidebar"/>
<remove name="paypal.partner.top_cart.shortcut"/>
<remove name="cart_sidebar"/>
<remove name="cart_sidebar.extra_actions"/>
<remove name="right.reports.product.viewed"/>
<remove name="right.reports.product.compared"/>
<remove name="tags_popular"/>
<remove name="paypaluk.partner.top_cart.shortcut"/>
<remove name="paypal.partner.right.logo"/>
<remove name="sale.reorder.sidebar"/>
<reference name="top.menu">
<remove name="catalog.topnav"/>
</reference>
</default>
</layout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment