Magento Optimierung

Ich bin nur ein Anfänger hier. Ich bin mit xampp1.7.1 php-version 5.2.9 und Magento 1.7. In meinem lokalen server möchte ich erhöhen Sie die Geschwindigkeit von magento und zu diesem Zweck versuche ich eine Menge von trick, die gefunden werden in google. Aber dennoch die Leistung nicht steigt. Besonders das speichern von Zeiten (was auch immer ich speichern im Backend) es braucht enorm viel Zeit (5 munites oder mehr...). Hier ist die Liste, was ich getan habe :

  1. In php.ini-Datei :

Ändern Sie den Wert von

memory_limit = 8M --> memory_limit = 128M
query_cache_size=16M --> query_cache_size=64M
  1. In meine.ini-Datei :

Setzen Sie den Wert von
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

  1. In magento .htaccess-Datei
    Kommentieren Sie die wichtigen Linien

Daraus :

<IfModule mod_deflate.c>

############################################
## 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

</IfModule>

Zu diesem :

<IfModule mod_deflate.c>

############################################
## 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

</IfModule>
  1. Deaktivieren von “#php_flag zlib.output_compression on", um "php_flag zlib.output_compression on"

  2. Aktivieren Sie "Cache-Verwaltung von magento-backend

  3. Installieren "Fooman_Speedster" Erweiterung

Aber immer noch die Geschwindigkeit, es ist nicht erhöht. Wenn Sie irgendwelche Vorschläge oder Tipps, bitte mit mir teilen. Sorry für mein Englisch.
Viele Dank im Voraus.

InformationsquelleAutor | 2012-10-08
Schreibe einen Kommentar