What aspects should I start with when optimizing website performance? Recently, I got a live optimization company intranet. The website is PHP + MySQL and the requirements are general. I want to improve the access speed of the website page as a whole. What aspects do Website optimization usually start from? can you give a series of entry points as a reference? (webpage cache, database query optimization, all I can think of is very general. can you give me some specific ideas) ------ solution -------------------- upgrade hardware with money is king-what aspects should we start with in website performance optimization?
Recently, I got a live optimization company intranet. The website is PHP + MySQL and the requirements are general. I want to improve the access speed of the website page as a whole.
What aspects do Website optimization usually start from? can you give a series of entry points as a reference? (webpage cache, database query optimization, all I can think of is very general. can you give me some specific ideas)
------ Solution --------------------
Upgrade hardware with money.
------ Solution --------------------
Cache, cdn, hardware, and code optimization,
------ Solution --------------------
You should first find the bottleneck
------ Solution --------------------
Seo optimization, try to use static
------ Solution --------------------
At the same time, you should also note the fact that accessing the same website from the Internet is faster than accessing from the intranet.
------ Solution --------------------
Discussion
You should first find the bottleneck
------ Solution --------------------
Is it stuck, or is it okay if it hurts? If it is the latter, it will speed up PHP and adjust mysql parameters.
If it gets stuck, find the bottleneck first as the boss said.
------ Solution --------------------
In fact, the optimization of the website php back-end main optimization is in the data query, and memory consumption, first carefully look at there is no memory overflow query http://www.itbajie.com/2012/03/53.html
Then, check the php error log to analyze the problem. The backend programs increase the access speed of front-end pages and the HTML rendering speed. The main thing is front-end rendering.
------ Solution --------------------
This is what you know. it is estimated that you cannot optimize anything. it is too far away.
------ Solution --------------------
Static pages have to be spent on servers.
More time is spent on the front-end,
Refer
Http://ued.alimama.com/talk about Yahoo's N military rules on performance optimization