This is an excellent presentation about the Google Chrome built-in DevTools (click outside the slide to move to the next one).
Tag: optimization
Trying out “ulimit -s 2048” in /etc/rc.d/rc, as pe…
Trying out “ulimit -s 2048” in /etc/rc.d/rc, as per this article. The default of 10MB for stack does indeed seem too high.
Solution to WordPress with WP Super Cache blank pages problem
This took me a while to figure out, so I’ll post it here in case someone else ever gets into this problem. After enabling WP Super Cache for a project at work, we’ve started seeing really weird and really random white page issues. WordPress would show a blank page and then a few minutes later it would start working again. But then it would disappear and so on and so forth.
Tracking the issue down, I’ve tweaked the WP Super Cache configuration quite a bit, but that didn’t help. And I was sure that it was related to WP Super Cache, since periods of appearing and disappearing were consistent with cache timeout settings. Browsing through WordPress support forums (threads one, two, and three) game an idea that it wasn’t just WP Super Cache on its own, but a combination of WP Super Cache plugin with something else on the system.
After a lengthy troubleshooting process, I think I nailed it. APC – an alternative PHP cache module – wasn’t friendly with WP Super Cache. So, as a short-term solution to the problem, I’ve disabled the APC and now everything seems to work well. I’m a bit busy now to troubleshoot the problem further, but if you have any idea of why that could be happening, please share.
Site speed improvements
Here is a partial screenshot from Google Analytics that shows how much improvement in site speed the recent move to the new server brought. We are back at the previous “normal” levels – 10 seconds per page load on average versus 45 seconds, and that’s before any kind of server tuning or optimization. In the next few days, when the dust settles a bit, I’ll optimize the server configuration a bit and everything will be even faster.
Incapsula – fast, secure and reasonably priced CDN
A month and a half ago I blogged about CloudFlare – a Content Delivery Network with security concerns and simple users in mind. CloudFlare is flexible for webmasters and they make it easy for us to take advantage of all the benefits they offer. I have moved several of my sites to CloudFlare and I am pretty happy with the service they provide. One of the things that I didn’t do at the time (or every since) though is a review or research for some alternatives. I mean, of course, we all know about Akamai and that big guns use it. We also know that Akamai is one of the most expensive services on the Web. But who else is out there?
Today I received an email from Incapsula. In essence, they offer a service which is similar to CloudFlare. They do caching, global delivery, and security. They do also offer a free plan for small, personal websites. They also have a few packages of varying prices and features.
As I mentioned earlier, I do run all of my important sites now through CloudFlare. And I don’t feel like moving to Incapsula just yet. However, I do want to try them out. I have a couple of new projects coming up, and I think I will use Incapsula for them just to see all the features they are offering and to compare with other alternatives out there. I’d be interested to hear the reviews, if you’ve tried the service. Especially, how they compare to the others and if they offer anything cool that nobody else does.
As a side note, website performance is becoming more and more important – with increased competition, impatient users and more weight to search results metrics in Google. Also, web application security is becoming increasing complex – it takes so much time and effort even for trained technical people such as myself, that I can’t imagine how huge of a task it is for “normal” people to maintain common sense security levels for their websites. It’s nice to see that there are more and more services and applications that take care of all the infrastructure problems, leaving more time to do the cool stuff – blogging, sharing, communicating, etc.
P.S.: Reading about Six Great Human and Computer Collaborations will expose you to new technology developments.