Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

how do i do these performance optimization tips? 
 
REDMobile
Member
 
Avatar
Total Posts:  42
Joined:  2008-09-15
 

I have several projects running on shared servers. One is with GoDaddy. I’m trying to optimize but I’m not sure how to accomplish these performance optimization tips:

APC
If Zend Opitmizer is installed do I need to install APC? Are there instructions on how to install this on a shared server?

KeepAlives
Everywhere it talks about ‘enable KeepAlives’. HOW DO I DO THAT?
In my phpinfo() I see HTTP_KEEP_ALIVE 300 . Does this mean it is enabled?

What else can I do on a shared server?

THANKS!!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Romain_C
Member
 
Avatar
Total Posts:  74
Joined:  2008-07-25
Hossegor, France
 

Hi spygyrrl,

if your host allows you to overwrite apache conf through your .htaccess files, you can already make some basic configuration that have a efficient impact on your page loads (some of them are already included in the magento .htaccess.sample file).
Check more on http://developer.yahoo.com/performance/rules.html

Exemple for apache 2 conf :

- Enable expires header and disable ETag:

# Set expiration information only for scripts and stylesheets
  <FilesMatch \.(png|gif|jpg|js|css|js\.css)$>
    
# Enables generation of 'Expires' and 'Cache-Control' headers
    
ExpiresActive On
    
    
# Sets default expiration time
    
ExpiresDefault "access plus 10 years"
    
    
# Disables entity tags (ETags)
    
FileETag None
  
</FilesMatch>

- Enable gzip compression :

AddOutputFilterByType DEFLATE application/json
  AddOutputFilterByType DEFLATE application
/x-javascript
  AddOutputFilterByType DEFLATE text
/css
  AddOutputFilterByType DEFLATE text
/html
  AddOutputFilterByType DEFLATE text
/plain
  AddOutputFilterByType DEFLATE text
/xml

Does anyone know more about making some more low level optimization : more caching, db , apc ??

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top