duska Posted January 12, 2011 Share Posted January 12, 2011 Salve,ho un sito in prestashop e vorrei cercare di velocizzarlo un pò nell'apertura delle pagine e nei caricamenti.Navigando sul forum ho trovato questo in basso. Qualcuno ne sa di più mi date informazioni se funziona o meno?1 – il file config/smarty.config.inc.php riga 10<?phprequire_once(PS_SMARTY_DIR.‘Smarty.class.php’);$smarty = new Smarty();$smarty->template_dir = PS_THEME_DIR.‘tpl’;$smarty->compile_dir = PS_SMARTY_DIR.‘compile’;$smarty->cache_dir = PS_SMARTY_DIR.‘cache’;$smarty->config_dir = PS_SMARTY_DIR.‘configs’;$smarty->caching = false;$smarty->force_compile = false; // to pass “false” when put into production$smarty->compile_check = false;//$smarty->debugging = true;$smarty->debug_tpl = PS_ALL_THEMES_DIR . ‘debug.tpl’;2 – Inserire nel file .htaccess mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.gzip.Grazie. Link to comment Share on other sites More sharing options...
cyber Posted January 19, 2011 Share Posted January 19, 2011 fammi vedere il tuo negozio voglio testarlo Link to comment Share on other sites More sharing options...
duska Posted January 19, 2011 Author Share Posted January 19, 2011 www.modainside.it però non ho applicato le modifiche sopra scritte.Chiedevo e chiedo ancora se quelle sopra riportate e trovate qui nel forum sono valide per velocizzare il sito. Link to comment Share on other sites More sharing options...
cyber Posted January 19, 2011 Share Posted January 19, 2011 guarda il tuo problema e l'hosting sto see web non l'ho mai sentito onestamente se vuoi te ne do qualcuni in pvt ciao Link to comment Share on other sites More sharing options...
duska Posted January 19, 2011 Author Share Posted January 19, 2011 si certo dimmeli in pvt che mi interessano. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now