1

I'm searching to improve our magento project and I found some postings to suggest reasons.

one of repetitive reasons is to enable compilation.

And I found that my project is unable for compilation.

But I want to know how compilation improves performance and why.

I believe there is a clear reason not to enable compilation.

0

2 Answers 2

2

The Compilation feature of Magento will allow you to compile all files of a Magento installation in order to create a single include path to increase performance.

The performance increase is between 25%-50% on page loads. In order to use this tool, the directory includes and the file includes/config.php must both be writable.

You can temporary disable it in Go admin side » System » Tools » Compilation by clicking the Disable button and the Compiler include path will be disabled. Then, after the extension installation run the compilation process again.

IMPORTANT:

Please, make sure that you use the Run Compilation Process function after the installation, not the Enable Compilation - otherwise, you are likely to get backend fatal errors.

Before you make any changes to your Magento installation you should always disable compilation. Once the changes are made, run the compilation process, and then enable it.

More Details

5
  • What does 'installation' of the sentence : "you use the Run Compilation Process function after the installation" mean?
    – LKM
    Dec 29, 2015 at 7:09
  • Ofcourse, it is installed , i can see the ui, isn't it?
    – LKM
    Dec 29, 2015 at 7:09
  • If compilation enable and installation new module or extension then it is not working
    – Abdul
    Dec 29, 2015 at 7:18
  • Magento module or extension installation you should always disable compilation
    – Abdul
    Dec 29, 2015 at 7:18
  • Make sure that you use the Run Compilation Process function after the new module or extension installation.
    – Abdul
    Dec 29, 2015 at 7:19
0

Magento will compile all of its files to create a single include path, which will help us reduce page load time by up to 50%. To run this compilation process, go to System > Tools > Compilation. In the top-right hand corner, you’ll see the Run Compilation Process button. Click on that and you’re done.

Log into your Magento Admin Backend
Go to System ->> Tools ->> Compilation

Now, Click on "Run Compilation Process" to compile the Magento Installation Files

Once you run the compiler, it may take a while for Magento to compile all of its installation files. Once the compilation has been completed you will be notified and the "Compiler Status" and "Compilation State" will update accordingly.

I hope this will help you.

2
  • What does a single include path mean and thats role?
    – LKM
    Dec 29, 2015 at 7:07
  • it will check the all files for error at once. and also improve the performance by getting all files. Dec 29, 2015 at 7:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.