How to Speed up Websites

Hello all

How can speed up WordPress websites on a dedicated server?

Before my website was hosted on Cpanel + Litespeed that time rocking speed well on my all sites

But when i migrate to cyberpanel then all sites slow

I tested gtmetrix showing page speed F

I installed cyberpanel with redis + Opcache also and i increased PHP memory limit also but still slow

I use LiteSpeed cache plugin + Wpfaster cache also

My server config

Dual E5-2620 v3 - 24Cores
42GB Ram
600GB SSD
1Gbps

Anyone, please advise me kindly i was suffering from this

I have a dedicated box with comparable server specs, running about 6 HEAVY websites. I have load times of less than 1sec (typically .2-.4 sec).

My assumption would be that the LiteSpeed Cache plugin isn’t optimized for your needs.

You’ve left out a few essential details. Most importantly, is your website news/blog/ecommerce/etc ? If so, you need to ensure that you have ESI enabled and entirely setup/configured.

Additionally, (assuming that you have a sitemap.xml generated) have you added your sitemap URL to the crawler? I’ve seen poor results when there isn’t a sitemap… so, while I’m not 100% certain on how everything works in the LiteSpeed cache plugin, I can say that this part is VERY essential.

Also, ensure that you’re connected to quick.cloud in General settings. If you don’t, you’re not going to see a lot of optimizations that you would/could benefit from.

…in summary, I can say that with a server like yours, it really should not be the server slowing your site down.

I tried everything still slow i going back to Cpanel.

Still running out of this issue no one idea :roll_eyes:

Change some configurations in Litespeed

Server Configuration > Tuning

Connection

Max Connections 30000
Max SSL Connections 20000
Connection Timeout (secs) 300
Max Keep-Alive Requests 10000
Keep-Alive Timeout (secs) 5
Send Buffer Size (bytes) 0
Receive Buffer Size (bytes) 0

####################

Server Configuration > Security

CGI Settings

CGI Daemon Socket Not Set
Max CGI Instances 30 - best cpu
Minimum UID 11
Minimum GID 10
Force GID Not Set
umask Not Set
CGI Priority 0
CPU Soft Limit (sec) 10
CPU Hard Limit (sec) 50
Memory Soft Limit (bytes) 0
Memory Hard Limit (bytes) 1800M
Process Soft Limit 400
Process Hard Limit 450
cgroups Disabled

Server Configuration > Security

Per Client Throttling

Static Requests/second 500
Dynamic Requests/second 350
Outbound Bandwidth (bytes/sec) 0
Inbound Bandwidth (bytes/sec) 0
Connection Soft Limit 30
Connection Hard Limit 50
Block Bad Request Yes
Grace Period (sec) 15
Banned Period (sec) 60

LS reCAPTCHA - Protect from attacks

Enable reCAPTCHA Yes
Site Key Not Set
Secret Key Not Set
reCAPTCHA Type Checkbox
Max Tries Not Set
Allowed Robot Hits 200 fixing a limit
Bot White List Create a List
Connection Limit 3000
SSL Connection Limit 2000

Server Configuration > External App

Environment |PHP_LSAPI_CHILDREN=200
LSAPI_AVOID_FORK=1|
Max Connections |200|
Max Idle Time|86400|
Memory Soft Limit (bytes)|0|
Memory Hard Limit (bytes)|3048M|
Process Soft Limit |0 - from server default
Process Hard Limit |2800| max of server

More in Dedicated with Large Site | Tuning Guide | LiteSpeed Web Server | LiteSpeed Documentation