DragonFroot

  • Installing & Configuring APC cache for Magento

    Introduction

    APC (Alternative PHP cache) is a free opcode cache for PHP, which optimizes PHP intermediate code.. APC engine caches the compiled bytecode of PHP scripts to avoid the overhead of parsing and compiling source code on each request. It stores PHP pages in RAM and reduces hard disk activity. You should be able to achieve a 50% increase in system capacity and your CPU will be 50% less busy.

    load-time.jpg.pagespeed.ce.BgUBVZRgAd

    Magento stores its cache data in the file system by default. This is fine for small sites with low traffic. As you get more and more traffic and HTTP requests, file system reading and writing will become slower.

    This guide is for Windows only. But for Linux based operating systems, the configuration of APC procedure would be just a little bit different.

    Continue reading

  • Magento checkout page very slow - fixed (Magento 1.4, 1.5, 1.6 , 1.7)

    QUICK FIX FOR MAGENTO CHECKOUT SLOW

    When customers place an order (during the final stage)? IT’S SO SLOW Load your checkout page in less than 1 second. USE DRAGONFROOT CHECKOUT SPEED OPTIMIZER

    The found workaround is to disable some observers from Mage_Downloadable and Mage_Rss, who execute in afterSave of each item in order.

    Since I don’t use downloadables or the RSS feed, it was a simple fix to go find the respective module’s control files in app/etc/modules and set the line to false. The one for RSS is in Mage_All.xml and the other is in Mage_Downloadable.xml if I remember right. Modules don’t load, observers go to sleep so they aren’t firing for every line item in the cart. Overhead goes away.

    Continue reading

  • Magento Controller Dispatch and Hello World

    The Model-View-Controller (MVC) architecture traces its origins back to the Smalltalk Programming language and Xerox Parc. Since then there have been many systems that describe their architecture as MVC. Each system is slightly different, but all have the goal of separating data access, business logic and user-interface code from one another.
    Continue reading

  • The Magento Config

    The config is the beating heart of the Magento System. It describe, in whole, almost any module/model/class/template/etc than you’ll need to access. It’s a level of abstraction that most PHP developers aren’t used to working with, and while it adds development time in the form of confusion and head scratching, it also allows you an unprecedented amount of flexibility as far as overriding default system behaviors go.
    Continue reading

Items 11 to 14 of 14 total

per page
Page:
  1. 1
  2. 2
My Cart
loading