Etichete

module prestashop module gratuite prestashop datafeed xml datafeed creare data feed modul prestashop free module free prestashop CURS BNR DIN DATA FEED Generator rapoarte STOC prestashop xml joomla datafeed joomla creare data feed xml joomla script Joomla actualizare automata pret update pret din data feed automa actualizare automata stoc xml opencart datafeed opencart creare data feed xml opencart script opencart Update stoc din data feed automa import data feed modules prestashop Import data feed prestashop data feed Data Feed complet Data Feed prestashop Data Feed XML xml magento OPTIMIZARE BAZE DE DATE Magento Feed 2parale csv Feed 2 parale ACTUALIZARI PRETURI ACTUALIZARI STOCURI ACTUALIZARI STOCURI SI PRETURI D ACTUALIZARI CURS BNR ACTUALIZARI STOCURI SI PRETURI L actualizari stocuri pentru magaz actualizari preturi si stocuri Actualizare pret automat actualizare stoc Update versiune Prestashop Itembase update pret magento update Magento UPDATE PRET SI STOC DIN DATA FEE UPDATE STOC SI PRET DIN CSV - AU Data feed compari prestashop Data feed compari Data feed price prestashop Data feed price Data feed ocazii prestashop Data feed ocazii OPTIMIZARE BAZE DE DATE JOOMLA OPTIMIZARE BAZE DE DATE OPENCART magazin joomla rapoarte joomla optimizare prestashop Optimizare baze de date Prestash update stoc Joomla update curs BNR Joomla UPDATE PRET Joomla module Joomla module Joomla romania update pret automat Joomla update stoc automat Joomla update stoc si pret Joomla actualizare automata pret Joomla update price automated Joomla update price Joomla actualizare din feed stoc Joomla actualizare automata stoc Joomla actualizari stocuri Joomla Update stoc din data feed Joomla actualizare automata pret openca actualizare din feed stoc openca actualizare automata stoc openca UPDATE PRET DIN DATA FEED

Buletin informativ

Blog Categories

Htacces Prestashop

Posted By: Petcu Cristian In: Prestashop On: Sunday, August 31, 2014 Comment: 0 Hit: 4369

Htacces Prestashop

Htacces Prestashop.
Idei si sfaturi ce trebuie luate in calcul pentru ca performantele site-ului sa fie imbunatatite.
 
Setare limita memorie si timpul de executie

php_value post_max_size 5M
php_value upload_max_filesize 5M
php_value memory_limit 2048M
php_value max_execution_time 259200
php_value max_input_time 259200
php_value session.gc_maxlifetime 1200
 
Exemplu:
htacces prestashop
 
Activare cache
<filesmatch ".(ico|pdf|flv)$"="">
Header set Cache-Control "max-age=29030400, public"
# 1 WEEK
<filesmatch ".(jpg|jpeg|png|gif|swf)$"="">
Header set Cache-Control "max-age=604800, public"
# 2 DAYS
<filesmatch ".(xml|txt|css|js)$"="">
Header set Cache-Control "max-age=172800, proxy-revalidate"
# 5 MIN
<filesmatch ".(html|htm|php)$"="">
Header set Cache-Control "max-age=300, private, proxy-revalidate"
ExpiresActive On
ExpiresDefault A86400
ExpiresByType image/x-icon A2592000
ExpiresByType application/x-javascript A2592000
ExpiresByType text/css A2592000
ExpiresByType image/gif A604800
ExpiresByType image/png A604800
ExpiresByType image/jpeg A604800
ExpiresByType text/plain A604800
ExpiresByType application/x-shockwave-flash A604800
ExpiresByType video/x-flv A604800
ExpiresByType application/pdf A604800
ExpiresByType text/html A900

# YEAR
<filesmatch ".(ico|gif|jpg|jpeg|png|flv|pdf)$"="">
Header set Cache-Control "max-age=29030400"
# WEEK
<filesmatch ".(js|css|swf)$"="">
Header set Cache-Control "max-age=604800"
# 45 MIN
<filesmatch ".(html|htm|txt)$"="">
Header set Cache-Control "max-age=2700"

FileETag MTime Size

ExpiresActive on
ExpiresDefault "access plus 1 year"

Comments

Leave your comment

free web stats