What aspects should I start with when optimizing website performance? What should I do?

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.