xzyyy Posted August 7, 2015 Share Posted August 7, 2015 很久没有接触这些,以前一直在用的是creloaded,最近对prestashop和opencart感兴趣,在粗略浏览之后感觉还是prestashop更舒服一些,所以在自己的vps(linode/1g/1core)试架一个prestashop的站点,发现载入速度很慢,ttfb(接受首字节前waiting的时间)竟然有七八秒....感觉很无语,查阅了很多prestashop的资料来尝试优化,虽然有些提高但仍然有五六秒,之后又查看了不少prestashop和opencart的模板演示站,发现prestashop模板演示站的ttfb普遍在2-3秒以上,而opencart模板演示站的ttfb几乎没有超过500ms的,我自己的站点产品是随便导入的不算太多只有3000左右,查看了mysql的慢查询,貌似bestseller和newproduct一类的模块有那么一两个慢查询 想请问有经验的前辈这是否是架构问题还是我自己的环境问题,prestashop和opencart是否真的有如此之大的性能差距,如果不是的话有可能是什么问题造成的呢?先谢谢了 Link to comment Share on other sites More sharing options...
21846657 Posted August 7, 2015 Share Posted August 7, 2015 你都做了哪些优化? Link to comment Share on other sites More sharing options...
xzyyy Posted August 8, 2015 Author Share Posted August 8, 2015 https://www.prestashop.com/blog/en/quick-easy-settings-speed-prestashop-store/ 这篇官方文章全做 https://www.prestashop.com/forums/topic/375707-prestashop-performance-tips-compilation/ 这个论坛文章我看比较老了,只根据自己的理解挑了一小部分做了 Link to comment Share on other sites More sharing options...
21846657 Posted August 8, 2015 Share Posted August 8, 2015 prestashop的可定制灵活性高,这本身是一把双刃剑。请告知你的ps版本。如果可以,用网站测试工具测试一下,反馈结果。 另外,卸载bestseller和newproduct模块速度是否有提升? Link to comment Share on other sites More sharing options...
xzyyy Posted August 16, 2015 Author Share Posted August 16, 2015 楼上你好,我想您误解了我的问题,我还没有去深入研究为什么我那个测试站的ttfb会那么久,因为本身我还没有确定究竟选择哪个cart来做,所以不想花太多精力去深入(如果最后没用prestashop不是白费功夫了),我查了一些opencart和prestashop的模板demo站,发现prestashop的ttfb普遍要比opencart长很多,所以想看一下大家公认的看法,是否prestashop本身就比opencart慢很多 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