Boost WordPress performance with Varnish Cache
Lets face it, WordPress is slow. With every request it has to go though thousands lines of code and multiple SQL queries to render a page. Very popular configuration for a WordPress site is Apache, mod_rewrite, mod_php, PHP and MySQL. It’s very good setup but can’t be consider the fastest (at least without any additional […]
How to escape double quotes in Varnish regex
This is going to be the shortest post ever both might save hours to people who don’t know it yet. The good old fashion \” won’t work. Suggestion from the manual to use %22 doesn’t work either. Solution to this problem is regex ASCII escape “\x22″.
1 |
"\x22FooBar\x22" |
Simple as that but took me some time […]
Cache like a Pro with Memcached
Every application have a bottle neck. It might be a database query, request to an external service, hard drive I/O or an expensive algorithm. Even if the software is running smoothly it might be necessary to optimise in order to handle higher traffic. Significant part of optimisation is caching.
Benchmarking Amazon EC2 instance for a Web Server
For the last few days I’ve been testing Amazon web services (AWS). I’m looking for a reliable and scalable hosting provider to host Gloople e-commerce platform. Feature wise AWS is amazing. It offers literally everything an enterprise application might need. In fact, they offer so many services (and various configurations of those services) it might […]