yhi Posted April 14, 2015 Share Posted April 14, 2015 topic say it alli want some tips to make my website load fast ?? Quote Link to comment https://forums.phpfreaks.com/topic/295539-how-to-make-my-website-fast/ Share on other sites More sharing options...
QuickOldCar Posted April 14, 2015 Share Posted April 14, 2015 That is a vague question. Is many variables to them that could make them slower. By default they are fast. A big helper would be to cache the results or pages somehow. Optimize queries and create an index for the database. Only fetch data you are using Don't load lots of images or large ones, cache smaller thumbnail versions of them when can. Use gzip or any other compression for js and css Can test your pages out here and try to find out what is making it slow. http://tools.pingdom.com/fpt/ Quote Link to comment https://forums.phpfreaks.com/topic/295539-how-to-make-my-website-fast/#findComment-1509036 Share on other sites More sharing options...
yhi Posted April 14, 2015 Author Share Posted April 14, 2015 Use gzip or any other compression for js and css Can test your pages out here and try to find out what is making it slow. http://tools.pingdom.com/fpt/ how to use gzip ?? Quote Link to comment https://forums.phpfreaks.com/topic/295539-how-to-make-my-website-fast/#findComment-1509071 Share on other sites More sharing options...
Psycho Posted April 14, 2015 Share Posted April 14, 2015 I see a lot of people running queries in loops - those are sure to kill performance. Here is what I would suggest: Create an array of values to measure the load time at specific points in the page creation. Then output the results so you can see how long each step in the process takes. Here is a quick example <?php $timings = array(); $timings['start'] = microtime(true); //Code to load include files goes here $timings['load_includes'] = microtime(true); //Code to run some DB operations $timings['run_db'] = microtime(true); //Code to build the page $timings['build_page'] = microtime(true); //Page execution done, create output to show times to complete each step $last = false; foreach($timings as $processDesc => $timing) { if($last != false) { $processTime = $timing - $last; echo "{$desc}: {$processDesc}<br>\n"; } $last = $timing; } Quote Link to comment https://forums.phpfreaks.com/topic/295539-how-to-make-my-website-fast/#findComment-1509080 Share on other sites More sharing options...
JonnoTheDev Posted April 16, 2015 Share Posted April 16, 2015 topic say it all i want some tips to make my website load fast ?? 1. Remove any PHP / Server Side code 2. Strip out any <img> tags 3. Strip out any <script> tags 4. Strip out any <link> tags to CSS files Job done. Should run like lightning! 3 1 Quote Link to comment https://forums.phpfreaks.com/topic/295539-how-to-make-my-website-fast/#findComment-1509170 Share on other sites More sharing options...
gizmola Posted April 16, 2015 Share Posted April 16, 2015 Neil, you left out: Make a sandwich Take power nap $$$ Profit! 1 1 Quote Link to comment https://forums.phpfreaks.com/topic/295539-how-to-make-my-website-fast/#findComment-1509180 Share on other sites More sharing options...
asianmartt Posted June 27, 2015 Share Posted June 27, 2015 Follow and do some following steps these beneficial step might be work : 1. Simplicity– Make the page outline straightforward. Maybe a couple pictures and content. In any case, you likely need wealthier parts on your site.2. Combination– Taking all the scripts and heaping them into a solitary script and, correspondingly, joining all CSS into a solitary template.3. Think about actualizing as a substance conveyance system (CDN).4. Actualize new picture configurations to decrease the extent of your pictures.5. Assess your plugins.6.Combine pictures into CSS sprites.7.Enable pressure.8. Utilization lapses headers9. Minify JavaScript and CSS.10. Audit your facilitating supplier and bun Quote Link to comment https://forums.phpfreaks.com/topic/295539-how-to-make-my-website-fast/#findComment-1515073 Share on other sites More sharing options...
trq Posted June 28, 2015 Share Posted June 28, 2015 The simplest way to gain request-start to request-end speed is to cache using something like akamai. Quote Link to comment https://forums.phpfreaks.com/topic/295539-how-to-make-my-website-fast/#findComment-1515125 Share on other sites More sharing options...
Markds Posted June 29, 2015 Share Posted June 29, 2015 Pagespeed depends on different factors. Dont load it with heavy files, themes, etc. Maybe it happened 'cause of hosting. I decided to use a CDN when the quantity of visitors grown up to 3000 per day. And it helped in my case.I use CDNsun they are low cost, they have an extensive network and help with integration Quote Link to comment https://forums.phpfreaks.com/topic/295539-how-to-make-my-website-fast/#findComment-1515184 Share on other sites More sharing options...
Muddy_Funster Posted January 21, 2016 Share Posted January 21, 2016 CloudFlare could be worth a look. Quote Link to comment https://forums.phpfreaks.com/topic/295539-how-to-make-my-website-fast/#findComment-1530181 Share on other sites More sharing options...
MarkPhp2 Posted January 25, 2020 Share Posted January 25, 2020 (edited) Here you go https://developers.google.com/speed/pagespeed/insights/ Use this website to check your speed. You will get list of the things that needs to be done. Edited January 25, 2020 by MarkPhp2 Quote Link to comment https://forums.phpfreaks.com/topic/295539-how-to-make-my-website-fast/#findComment-1573807 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.