Vilas Posted January 2, 2011 Share Posted January 2, 2011 Dear Friend, Recently I have upgraded my PS version to 1.3.5.0 but thereafter my website is become slower. Can anyone tell me why is it happened? Regards Vilas Link to comment Share on other sites More sharing options...
shokinro Posted January 2, 2011 Share Posted January 2, 2011 I think this is a question not easy to answer, because there many reasons that cause pages loading slowly.Could you please give some more detailed information?Does this happen on specific pages? or happens on all pages?Is it only happens when you visit your site after not use for a while?By the way, here are few threads that might help you.http://www.prestashop.com/forums/viewthread/84514/http://www.prestashop.com/forums/viewthread/82104/http://www.prestashop.com/forums/viewthread/80657/ Link to comment Share on other sites More sharing options...
Vilas Posted January 2, 2011 Author Share Posted January 2, 2011 (edited) Hi,I am facing issue for all pages not for particular page. You can also check below my site link.RegardsVilas Edited September 30, 2014 by Vilas (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted January 2, 2011 Share Posted January 2, 2011 I checked your site, most pages responded in less than one seconds. I think it is pretty normal.But for some pages, it will take 2-3 seconds to load at first time visit. but when you access the same page again, it will load very quickly. I think it is because of compiling of smarty tool. Change following line to false will improve some performance.file /config/smaty.config.inc.php$smarty->force_compile = true; // to pass "false" when put into productionBut don't forget, every time when you make changes on source code, you need clear contents in following folder./tools/smarty/compile/ Link to comment Share on other sites More sharing options...
Vilas Posted January 3, 2011 Author Share Posted January 3, 2011 (edited) Hi shokinro,Can I know where I will get this "smaty.config.inc.php" File as I am trying to find but unable to locate it.Thanks for your kind support in advance. Edited September 30, 2014 by Vilas (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted January 3, 2011 Share Posted January 3, 2011 Can I know where I will get this “smaty.config.inc.php” File as I am trying to find but unable to locate it As I indicated in my previous post, the file "smaty.config.inc.php" is located under /config/ folder Link to comment Share on other sites More sharing options...
Vilas Posted January 3, 2011 Author Share Posted January 3, 2011 (edited) Hi,Exactly what changes I have to do? Sorry to troubling you.I got the file and below text in it"$smarty->force_compile = true; // to pass "false" when put into production$smarty->compile_check = false;"Where exactly I have to make changes? Edited September 30, 2014 by Vilas (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted January 3, 2011 Share Posted January 3, 2011 >Exactly what changes I have to do? Sorry to troubling you.The value should be set to false as following $smarty->compile_check = false; There was a mistake in my previous posts statement, but I have corrected it now. Sorry for the confusion. Link to comment Share on other sites More sharing options...
Vilas Posted January 4, 2011 Author Share Posted January 4, 2011 (edited) shokinroSorry for trouble again. But value is already set to False there. My next in that file is as below"“$smarty->force_compile = true; // to pass “false” when put into production$smarty->compile_check = false;”So where I have to do change? and what change I have to do. Edited September 30, 2014 by Vilas (see edit history) Link to comment Share on other sites More sharing options...
Vilas Posted January 4, 2011 Author Share Posted January 4, 2011 (edited) HiI have made changes to below text from"““$smarty->force_compile = false; // to pass “false” when put into production$smarty->compile_check = false;”I hope you means to say to do this only. One more thing as you told in earlier post that delete all files /tools/smarty/compile/ I seen that in that folder there are many kinds of file are there. So do I have to delete all files including index.php which is under that folder? Edited September 30, 2014 by Vilas (see edit history) 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