Stay Tuned!

Subscribe to our newsletter to get our newest articles instantly!

Programming

How to Speed Up Your PHP Website

As the daily number of user accessing the website around 500+ a day on average, we need to speed up loading time on our Dewalist classified website.

Here are some techniques:

Performance Report

Run the GTMetrix for your website. Once the report is completed, go through that list and check the one that C and B grades.

Reduce Component

In our case, we have a lot of components loading on the homepage such as banner, header navigation, alphabetical shortcut, news, featured ads, categories, location filter, newsletter, ref number lookup, online stat, tag cloud, survey, global statistic, and footer navigation.

Analyse these components. Move these components that it doesn’t belong to the homepage into other existing page or a new one.




Leverage Browser Caching

To be announced

Defer Parsing of Javascript

To be announced

Avoid Landing Page Redirect

To be announced

The End

If you have reached the end of this article, congratulation. Hopefully, we have been able to shed some light on how to speed up your PHP website.

We write this in such a way that this is not a fix article. Like in this journey, we learn as we go and we re-write some parts so please keep pinging with this article.




We also would love to hear about how you deal with situation and what problems you might be facing. Please feel free to leave us a comment below this article and let us know if you have any questions that we can answer! Thanks again!

If you love this article and you would like to receive an update of this article or our latest post, please sign up the form below:

Newsletter signup

This is a newsletter for tech, creative, gadgets, games and crypto.

Please wait...

Thank you for sign up!

Avatar

Valdy

About Author

Valdy founded Dewacorp.com, a helpdesk and IT Services provider that has taken care of nearly 40,000 customer service requests in the past 15 years - nearly 2,600 per year. He also created the growing Dewalist.com - a classified website that has close to 110,000 page views and 9,000+ user visits per month with 61,000+ yearly published ads and 47,000 active registered users. He blogs for the ever-growing Dewapost.com, a tech blog that gets around 20,000 impressions per month with 700 clicks and 10 average pages first impressions on Google Search. You can reach him on the Contact Us page, social media links below or Dewachat.com.

You may also like

Programming

SQL: Performance Tuning Query

Queries — Basic setup DBCC DROPCLEANBUFFERSDBCC FREEPROCCACHE SET STATISTICS IO ONSET STATISTICS TIME ON /* SELECT * FROM dbo.Categories*/ Sources
Programming

Notes: Road to Yii Framework

Apache2 Configuration on MAC Snow Leopard: /etc/apache2/httpd.conf “It worksP page is located under: /Library/WebServer/Documents/index.html.en To restart apache2 after changing: sudo apachectl