Vilas Posted March 11, 2012 Share Posted March 11, 2012 Dear Friends, I am fade up of using Prestashop. I tried lots of things to optimize my site. But failed. Backend loads within a 15 seconds whereas frontend takes upto 1 1.5minuites to start rendering. It will be great if anyone help me. site url is Please suggest solution. Thanks Link to comment Share on other sites More sharing options...
tdr170 Posted March 11, 2012 Share Posted March 11, 2012 I tried your site in both Google Chrome and IE8, loaded right away in both with Chrome being a little faster. You can try increasing your memory in Config.inc.ini, here is an example of mine. /* Improve PHP configuration to prevent issues */ ini_set('upload_max_filesize', '100M'); ini_set('default_charset', 'utf-8'); ini_set('magic_quotes_runtime', 0); ini_set('memory_limit','128M'); Also try changng these settings under preferences/ performance: Smart cache for CSS Set to use CCC for CSS Smart cache for JavaScript Set to use CCC for Javascript Minify HTML Set to use Minify HTML after "smarty compile" execution Compress inline JavaScript in HTML Set to use Compress inline Javascript in HTML after "smarty compile" execution High risk HTML compression Leave as Keep W3C validation If you are able to edit your php.ini through your host control panel try turning on zlib-compression here is an example of mine. You will need to scroll the the file to find this part of the code and yours may vary. (I use Ipage) Transparent output compression using the zlib library ; Valid values for this option are 'off', 'on', or a specific buffer size ; to be used for compression (default is 4KB) ; Note: Resulting chunk size may vary due to nature of compression. PHP ; outputs chunks that are few hundreds bytes each as a result of ; compression. If you prefer a larger chunk size for better ; performance, enable output_buffering in addition. ; Note: You need to use zlib.output_handler instead of the standard ; output_handler, or otherwise the output will be corrupted. zlib.output_compression = On (this is off by default) Link to comment Share on other sites More sharing options...
Vilas Posted March 11, 2012 Author Share Posted March 11, 2012 Dear Friend, Thanks for paying attention. I am also using ipage hosting. But how to edit php file? Where I can found it? Please suggest. Thanks Link to comment Share on other sites More sharing options...
tdr170 Posted March 11, 2012 Share Posted March 11, 2012 Sign in to your account and go to control panel, click on CGI and Scripted Language Support, now click on PHP Scripting, you will see your PHP.ini. Scroll through it and find the zlib section you can also increase your php memory here as well. ;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 300 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit =256M ; Maximum amount of memory a script may consume (8MB) (I payed no attentioon to this #) Link to comment Share on other sites More sharing options...
Vilas Posted March 11, 2012 Author Share Posted March 11, 2012 Hi Friend, Thanks I got the file. It contains below text. ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 300 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 64M ; Maximum amount of memory a script may consume (8MB) Can u tell me shall I make it as below? max_execution_time = 300 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit =256M ; Maximum amount of memory a script may consume Please suggest. Thanks Link to comment Share on other sites More sharing options...
Vilas Posted March 11, 2012 Author Share Posted March 11, 2012 Dear Friend, Can I have your website url? I wish to see page loading time. I just want to see whether I am only getting speed issue on ipage or there might be any changes I have to do. Many Thanks Link to comment Share on other sites More sharing options...
tdr170 Posted March 11, 2012 Share Posted March 11, 2012 You can try 96, 128 or 256 and make the same change to your config.inc.ini file. Also change the zlib to on. Link to comment Share on other sites More sharing options...
Vilas Posted March 11, 2012 Author Share Posted March 11, 2012 Dear Friend, Do you means to say the same size I have to enter in config file which I entered in php? Please suggest. Thanks Link to comment Share on other sites More sharing options...
tdr170 Posted March 11, 2012 Share Posted March 11, 2012 Let's just say that's the way I configured mine, if I put 128 in php.ini I put 128 in config.inc.ini. Link to comment Share on other sites More sharing options...
Vilas Posted March 11, 2012 Author Share Posted March 11, 2012 Dear Friend, I did same as per your suggestion but no improvement. I am only getting speed issue on ipage or there might be any changes I have to do. Many Thanks Link to comment Share on other sites More sharing options...
tdr170 Posted March 11, 2012 Share Posted March 11, 2012 I am not sure what fast or slow may mean to you but the page loads fast for me. (3 seconds) Try to clear your browser cache files and make sure force compile is off and cache is on in BO. (preferences/ performance) Link to comment Share on other sites More sharing options...
Vilas Posted March 12, 2012 Author Share Posted March 12, 2012 Hi Friend, Actually from my end site takes approximately 1 minute. I tried different pc's but still issue is same. Also can u tell me which cache I have to enable? That option which is next to force compile is that? I have enabled that already. Thanks Link to comment Share on other sites More sharing options...
tdr170 Posted March 12, 2012 Share Posted March 12, 2012 Yes that is it, Not sure why site is slow on your end, from here it loads just fine. Do you have issues with other sites loading slow. Try my site is work in progress but may give us a clue. Link to comment Share on other sites More sharing options...
Vilas Posted March 12, 2012 Author Share Posted March 12, 2012 Hi Friend, I tried ur site. From my end its taking same time which my site takes. I think hosting server is in us and place to place site loading time changes Thanks Link to comment Share on other sites More sharing options...
Vilas Posted March 12, 2012 Author Share Posted March 12, 2012 Hi Friend, One more thing Like to know http://www.unshit.com/ this tool is used to check site loading time. But I am unable to understand my site not shown in this tool. You can enter your site url it works but for mine not. Thanks 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