怎样优化discuz提高网站速度

WBOY
Release: 2016-06-06 20:11:30
Original
927 people have browsed it

不要网上复制来的,怎样修改程序优化速度或压缩提高速度

回复内容:

不要网上复制来的,怎样修改程序优化速度或压缩提高速度

欠你的啊~
问问题搞得好牛逼的感觉!!!

只要写的代码没有语法错误, PHP 速度就不会慢的
1.前端静态页面中图片,静态文件的引用,可以放到第三方cdn 上
2.慢的节点就在数据库处理,分析慢查询,加索引,数据加缓存
3.服务器的CPU, 带宽等的配置

我感觉关键还是自己服务器配置.带宽.配置高了打开就快了,

给你的服务器上的服务加上慢日志,什么nginx啊phpfpm 啊 mysql啊 把这些慢日志都打上,发现1秒以上或者2秒以上的就去优化,别告诉我你看不懂慢日志写的啥,然后就是提高硬件把。。因为我实现想不到所有的时间消耗都在1-2秒内。php还能在怎么加强了。

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!