简体   繁体   English

如何让Joomla + VirtueMart网站加载更快?

[英]How to make a Joomla+VirtueMart site load faster?

Is there any Joomla extension that can minify and merge all CSS and all JavaScript together? 是否有任何Joomla扩展可以缩小和合并所有CSS和所有JavaScript?

Also is there an extension to use a CDN (cloudfront) for all static files? 还有一个扩展使用CDN(云端)的所有静态文件?

Finally, how to optimize the images? 最后,如何优化图像? There are some huge images that weight almost 5 MB (!!), how can I get them to be resized to the correct display size? 有一些巨大的图像重量几乎5 MB(!!),我怎样才能将它们调整到正确的显示尺寸?

Thank you! 谢谢!

Try these things too, 尝试这些东西,

  • Enable compression from C panel 从C面板启用压缩
  • All the images compressed with jpegtran or pngout jpegtran或pngout压缩的所有图像
  • Enable page expiry using header or htaccess. 使用标头或htaccess启用页面到期。
  • You can use Joomla caching plugins too. 您也可以使用Joomla缓存插件。
  • In additionally you can try some CDN for server caching 另外,您可以尝试使用某些CDN进行服务器缓存
  • Minimize all your css and js files 最小化所有css和js文件

This will help your site speed definitely.. 这将有助于您的网站速度绝对..

Hope its helps.. 希望它的帮助..

  1. I think that VirtueMart has problem when there is bigger amount of products (1000 and more). 我认为当产品数量更多(1000或更多)时,VirtueMart会出现问题。 The problem is in not so optimized SQL queries. 问题在于没有那么优化的SQL查询。 Here is quite clever solution for caching . 这是一个非常聪明的缓存解决方案
  2. You can find some performance plugins at JED . 您可以在JED找到一些性能插件。 Some functions will destroy your web so test it at test environment first. 某些功能会破坏您的网络,因此请先在测试环境中进行测试。 We use Pagespeed in our projects and it works fine. 我们在项目中使用Pagespeed并且工作正常。 But you need to configure server for it and that could be a problem at some public webhosting. 但是您需要为它配置服务器,这可能是某些公共虚拟主机的问题。
  3. Also you can find some CDN extensions . 您还可以找到一些CDN扩展 We tried few of them last months but in the end we switched them off. 我们上个月尝试了一些,但最后我们将它们关闭了。 It works fine when you do not update your web. 当您不更新您的网站时,它工作正常。 When you do, there is problem that every user looks at different version of the web with different version of CSS and JS which usually means destroyed web. 当你这样做时,每个用户使用不同版本的CSS和JS查看不同版本的Web通常意味着销毁网络存在问题。 We didn't figured out how to reset CDN after update yet. 我们还没有弄清楚如何在更新后重置CDN。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM