title: Magento speed optimization
body: <p>I am just a beginner here. I am using xampp1.7.1 php version 5.2.9 and Magento 1.7. In my local server i want to increase the speed of magento and for that purpose i try a lot of trick which are found in google. But still the performance isn't increasing. Particularly the saving times (whatever i save in back end) it takes huge time (5 munites or more...). Here is the list what i did :</p>
  
  <ol>
  <li>In php.ini file :</li>
  </ol>
  
  <p>Change the value of</p>
  
  <pre><code>memory_limit = 8M --&gt; memory_limit = 128M
  query_cache_size=16M --&gt; query_cache_size=64M
  </code></pre>
  
  <ol>
  <li>In my.ini file :</li>
  </ol>
  
  <p>Set the value of
      key_buffer = 512M
      max_allowed_packet = 64M 
      table_cache = 512 
      sort_buffer_size = 4M 
      read_buffer_size = 4M 
      read_rnd_buffer_size = 2M 
      myisam_sort_buffer_size = 64M 
      tmp_table_size = 128M 
      query_cache_size = 96M</p>
  
  <ol>
  <li>In magento .htaccess file
  Uncomment the important lines</li>
  </ol>
  
  <p>From this : </p>
  
  <pre><code>&lt;IfModule mod_deflate.c&gt;
  
  ############################################
  ## enable apache served files compression
  ## http://developer.yahoo.com/performance/rules.html#gzip
  
  # Insert filter on all content
  ###SetOutputFilter DEFLATE
  # Insert filter on selected content types only
  #AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
  
  # Netscape 4.x has some problems...
  #BrowserMatch ^Mozilla/4 gzip-only-text/html
  
  # Netscape 4.06-4.08 have some more problems
  #BrowserMatch ^Mozilla/4\.0[678] no-gzip
  
  # MSIE masquerades as Netscape, but it is fine
  #BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  
  # Don't compress images
  #SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
  
  # Make sure proxies don't deliver the wrong content
  #Header append Vary User-Agent env=!dont-vary
  
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>To this :</p>
  
  <pre><code>&lt;IfModule mod_deflate.c&gt;
  
  ############################################
  ## enable apache served files compression
  ## http://developer.yahoo.com/performance/rules.html#gzip
  
  # Insert filter on all content
  SetOutputFilter DEFLATE
  # Insert filter on selected content types only
  #AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
  
  # Netscape 4.x has some problems...
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  
  # Netscape 4.06-4.08 have some more problems
  BrowserMatch ^Mozilla/4\.0[678] no-gzip
  
  # MSIE masquerades as Netscape, but it is fine
  BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  
  # Don't compress images
  SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
  
  # Make sure proxies don't deliver the wrong content
  Header append Vary User-Agent env=!dont-vary
  
  &lt;/IfModule&gt;
  </code></pre>
  
  <ol>
  <li><p>Uncheck  from “#php_flag zlib.output_compression on” to “php_flag zlib.output_compression on”</p></li>
  <li><p>Enable "Cache Management" from magento backend</p></li>
  <li><p>Install “Fooman_Speedster” extension</p></li>
  </ol>
  
  <p>But still the speed of it is not increased. If you have any suggestion or tips please share with me. Sorry for my English.
  A lot of thanks in advance.</p>