Hi, I wonder how google have such a very fast website. How can i make my website faster. I make my own scripts. But sometimes they take sometime to load. does google use PHP or something else? What are the factors that make my website faster?
Get a better host, google has thousands of servers to balance the load. If you are on a $50 per year host with hundred of other sites you won't get much performance. Make sure your scripts are efficient. Use the minimum amount of queries to your database and maybe index some results depending on your application. Optimise your images and html code to reduce the page sizes.
Thanks for the reply. mad4: What do you mean by indexing the pages? iatbm: Is it better than PHP? easer to learn?
some say it is the easiest one ... if you have no programming knowledge you can start with this http://sourceforge.net/projects/rur-ple wow i found another 3D learning environment http://sourceforge.net/projects/pyrel
This forum runs on php (check out some stats) so you are fine with php for large scale applications. My comment about indexing was that if you have a large database (> millions of records) then you need to use MySQL indexing to speed up the queries. What does your site actually do?
Check $GLOBALS to see that you're not loading it up with a bunch of stuff you don't need with inefficient queries or inefficient means about achieving a goal.
mad4: the website has a small database but about 1500 unique visitors. If i put images inside the database will that affect it? hdpinn: will do. Thank you all
Optimize all your content pages to the smallest size possible. Google uses virtually no images on their site to increase loading times. For PHP intense sites you can use Turck MMCache to increase performance on the entire server without changing your PHP code. Further server optimization can be done to get maximum output from your hardware but all this takes some time and know-how
You don't have a huge amount of traffic so I would say the problem might lie with your host. Are there any specific pages that are slow? If they are fast sometimes and slow other times then its not your scripts that are the problem.
Hi, ramprage : Thanks for the advice. I will try to reduce the images in my website. mad4: yes, sometimes the page load very fast and sometimes it loads very very slow. I will contact the hosting and see what will they say. Thanks for your help.
Google Page Speed addon for Firefox can tell you what you can improve. Google for it, install it, use it and fix everything that is possible in the suggested list from this addon.
Google and other big sites have clustering servers and have CND in world wide, so every one can browse fast the site by the CDN