You may have noticed that most my webpage are loading bit faster. Here is what I did:
a) CSS code moved to its own file and included CSS at the top
d) Turn on Apache gzip/mod_deflate compression
e) Turn on WordPress caching
f) Turn on php script caching (Iâ€™m using eAccelerator)
g) Tweak MySQL for optimization. Turn on query cache and other settings.
h) If possible switch to lighttpd or use squid / lighttpd as caching server for old good Apache.
If you have tons of cash to burn (assuming that your web app demands performance):
- Consider using CDN (Content Delivery Network) such as Akamai or SAVVIS.
- Server load balancing
However there are some external JS script snippets such as Google Adsense which slows down loading of a webpage. In few months I may roll out a new template and I will try to fix this issue 🙂
I’m interested to know what other people’s experiences with web page optimization. Feel free to share your tips.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
|Category||List of Unix and Linux commands|
|Firewall||Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04|
|Network Utilities||dig • host • ip • nmap|
|OpenVPN||CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04|
|Package Manager||apk • apt|
|Processes Management||bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time|
|Searching||grep • whereis • which|
|User Information||groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w|
|WireGuard VPN||Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04|