The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
A couple of years ago, I hosted a WordPress site and I kept up with the updates, but at one point a script file got slipped in (posted nefariously) to the site and it was corrupted by hackers.
I deleted the entire site.
It annoyed me so much I vowed to never darken the WP doorstep again.
But, WP has such great quick and easy way to post new entries that yesterday I crawled back over to it because I just want to get some content up _quickly_.
However, now the web site is sooooooo slooooooooowwwww....
WordPress is for when you're too lazy to build a real website.
My personal site runs on WP. And my host does periodic backups for me, so if it gets defaced, I'll just restore from a backup and not care. My host also does this nifty/annoying thing where if someone tries to brute force the login script, they detect it and automatically chmod 700 it until I SSH in and change it back.
If I actually cared about the site, though, I'd use something more secure.
I've found that for WP performance, if you have some control over your hosting environment there are a few things you can do that should improve things significantly:
- If you're not running PHP 7 yet, it make a huge difference. You'll get a 2-3x performance bump in WP when moving from PHP 5.6 -> PHP 7. If you're running 5.3 you'll see an even bigger jump.
- Enable PHP's opcache if it's not enabled right now. For an application like Wordpress that runs the same files over and over again, the opcache gives a significant performance boost.
- Install a WP caching plugin if you don't use one already. This won't make the admin pages load any faster, but it'll make the user facing part of your site much faster.
- If you're running MySQL 5.5 or older, consider upgrading to 5.7 (or switching to MariaDB, which is a drop in MySQL replacement). This won't help you as much as the PHP updates, but it'll get you a bit of extra performance.
I realize you may very well be aware of all of those already, but I figured I'd share the information in case it's useful to anyone who comes across this post. Of course, if you're running on shared hosting or in an environment where you aren't able to make these changes easily (or at all), none of this advice will be very useful.
FWIW, on a $5 Digital Ocean VPS with 512MB of RAM, I'm seeing a total page load time of <500ms for a low traffic Wordpress site. It feels faster than that, though; the page and its content are visible almost immediately; a large chunk of that 500ms is from images and scripts loading asynchronously. The downside is that if you go this route, you now have to worry about administering a Linux or BSD server and keeping it secure.
Last week I had an accident, broke my hand, went to hospital in Emergency. Doctor said I broke one finger, middle one, so they made the plaster and all the standard procedures took place. Later that day I was studying my X-Ray report, when I figured my ring finger was also fractured and displaced to the back. So, I got that fixed from a non-MBBS-degree holder, he did a good job.
Yesterday, last night, my thumb started to get a bit bluish and started to hurt. I rechecked my X-Ray imagery carefully to find out that my thumb had also been affected. That was the moment where I felt the pain of patients who are not treated and left over saying they are under "intensive care".
Suns of beaches didn't even bother reading the scans carefully and just applied the plaster, so-called doctors. I thought maybe it will take 5 days, now on 5th I think it's going to take a bit longer to heal. It's hard to type with just one hand.
In the meantime, I found a new habit, 3D animation is really amazing, and can be done with my left hand tied on my chest.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.