date:2015.1.11
Author:le Ciel
Abstract:prestashop website Access Optimization
The day before yesterday to contact Prestashop this do business website template. This template is a foreign open source template, see the introduction is in foreign very fire, but the domestic words relative use of the user may not be so much. From my view of the relevant information, it is true that the Chinese information is very small. Why use this? Because the person who used this scheme said, this template is very useful, of course, the premise is to use. Use yourself as a practice, and slowly grope.
Because has not contacted the website to build, also did not rent the server, buys the domain name. Now just on their own computer through: apache+mysql+php set up an environment, and then refer to some of the information on the Internet to build a website, see can open this site in their own browser, very happy (though that is to apply the template it provides, I haven't changed anything) because I haven't touched it before. Just like I started to learn programming, watching the console output Hello world! I am also very happy!
Question 1: The website is very slow to open! Whether it's the front desk or the backstage
Because there is no contact, so the problem is: to open their own site on this machine, the speed is very slow. I was thinking, if the user experience is this speed, then simply shut down the site! Another serious problem is that I need to find out how to check this problem do not know, do hand-tour development encountered problems I can debug to view, in the face of this has not been contacted I do not know how to check the information!
So I was on the Internet: Apache Server website Access slow, prestashop template building site access slow, PHP website optimization and other keywords. Finally, in the evening before you go to sleep, see about the use of WordPress templates to build Blog access slow problem: Because of the use of Google's font services, and public library services. Is the two api:fonts.googleapis.com/ajax.googleapis.com Google offers. Because of XX reasons, we use Google's service is that what what, see the solution is to use to provide services (netizens said is actually provide proxy services), replace these Google. And I was just opening the front and back of the site, I really was waiting for the two API response, so I think it should be a problem here.
Of course, this is only a palliative solution, because I this site is considered to make foreign trade type, so foreign friends visit Google's API should not be slow, but I need to operate in the domestic background. So I need to find a more appropriate solution. At present, I found that the front and back of the platform are used by Google services, I can consider separate (front desk with Google, backstage with ?) )。 Because PHP I contact time is not long, so take it slow. This site is now only my hobby!
prestashop--Access Optimization