Category Archives: Magento

Magento Compilation

It allows us to compile all files of magento installation in order to create a single include path to improve the performance

Before compiling the code make sure that “includes” and the file “includes/config.php” must both be writeable.

You can compile the code from the admin panel  System → Tools → Compilation

NoTE: 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.

Speed up magento

1) Install Fooman Speedste

http://www.magentocommerce.com/extension/457/fooman-speedster

2) Enable Gzip Compression in .htaccess

Add “php_flag zlib.output_compression on” in .htaccess file

3) Install APC or Xcache or memcached

4) Make sure your Apache configuration has KeepAlives enabled

5) Modify the configuration for your MySQL server to take better advantage of your server’s RAM.

6) Use a memory-based filesystem for Magento’s var directory

7) Clustering

8 ) Optimizing MySQL Database

9) Magento Caching.

10) Remove Home Page Elements

11) Compressing CSS Files

12) Changes to MySQL Configuration

13) Change from Apache to Litespeed Web Servers

KeepAlives

KeepAlives are a trick where multiple HTTP requests can be funneled through a single TCP connection. Since the setup of each TCP connection incurs additional time, this can significantly reduce the time it takes to download all the files (HTML, JavaScript, images) for a website.”

Memcached

Memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load

In computing, memcached is a general-purpose distributed memory caching system that was originally developed by Danga Interactive for LiveJournal, but is now used by many other sites. It is often used to speed up dynamic database-driven websites by caching data and objects in RAM to reduce the number of times an external data source (such as a database or API) must be read. Memcached runs on Unix, Linux, Windows and MacOSX and is distributed under a permissive free software license.

Memcached’s APIs provide a giant hash table distributed across multiple machines. When the table is full, subsequent inserts cause older data to be purged in least recently used (LRU) order. Applications using Memcached typically layer requests and additions into RAM before falling back on a slower backing store, such as a database.

Magento

Magento is an e-commerce platform created on open source technology, which provides online merchants with an exceptional flexibility and control over the content, look and functionality of their e-commerce store.

Magento is an open-source content management system for e-commerce web sites. The software was originally developed by Varien Inc., a US private company headquartered in Culver City, California, with assistance from volunteers.

Varien published the first general-availability release of the software on March 31, 2008, under the name Bento. Roy Rubin, former CEO of Varien, later sold a substantial share of the company to eBay, which is now the sole owner.

According to research conducted by aheadWorks in October 2014, Magento’s market share among the 30 most popular e-commerce platforms is about 30%.

Magento employs the MySQL relational database management system, the PHP programming language, and elements of the Zend Framework. It applies the conventions of object-oriented programming and model-view-controller architecture. Magento also uses the entity–attribute–value model to store data.