Hello,
I’m the owner of https://www.dijitalsat.com/ Before moving to DO we had 4 seconds max page load times and currently only server response time is 2 - 3 seconds and page loads in 10-15 . I’ve checked everything regarding to Apache2, Mysql and PHP with no luck. We are running on Centos 7, SSH panel with Apache2.
Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there @onderdigiturk,
I’ve run a quick scan with Pingdom, and it looks quite good:
https://tools.pingdom.com/#5cd760e549000000
The load time is around ~1.8 seconds and the server response time is less than 1 second.
There are a few things that you need to take into consideration:
I believe that if you work on the things above the load time would drop even more.
Hope that this helps! Regards, Bobby
For anyone stumbling upon this one like me, here is a detailed response.
High page load times can be frustrating, especially when it impacts user experience and SEO. Since you’ve migrated to DigitalOcean and are experiencing increased load times, we can explore several areas to diagnose and hopefully resolve these issues. You’ve mentioned checking Apache2, MySQL, and PHP configurations, but I’ll provide a comprehensive checklist that covers various aspects potentially impacting the performance:
htop or top to monitor usage.iostat can be helpful.MaxKeepAliveRequests, KeepAliveTimeout, and MaxClients. Adjust these based on your server’s capability and traffic.### 3. **Database Optimization**
- **Slow Queries**: Check for slow queries that can delay the response time. Tools like MySQL’s slow query log can be useful.
- **Optimize Tables**: Regularly optimize your database tables.
```sql
OPTIMIZE TABLE tablename;
opcache.enable=1
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
realpath_cache_size and realpath_cache_ttl for performance improvements in script loading.realpath_cache_size = 4096k
realpath_cache_ttl = 7200
Expires headers for static resources.By systematically going through these steps and making optimizations, you should be able to identify and mitigate the factors contributing to the high load times of your website on DigitalOcean.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.