Varnish demands experience and keeping an eye on your server. For that reason, test this guide on a non-production, non-money-making site with SSL. It will cost $5/month or less to host such a WordPress site on a VPS. If you manage the HTTPS site with Varnish for a couple of months, you'll gain some confidence. If ever Varnish started to throw errors on your production server, you have to … [Read more...]
How to Optimize php.ini for WordPress (mod_php, mpm prefork)
While mpm prefork is not the fastest mpm available for Apache2 web servers and also does not support HTTP/2 and ALPN, it is thread-safe and not closest to slower when the number of traffic is lower and CDN is extensively used. PHP FPM is faster but demands a somewhat expert person to optimize. That is the reason why some people still prefer mod_php and mpm prefork. The above paragraphs explain … [Read more...]
Apache 2.4 Disk Cache : How To Use And Why Not To Use
When you are using Apache2 server, then you are well aware of the fact that Apache2 is intended to be powerful, enterprise grade web server. Apache 2.4 disk cache is powerful cache and is content aware. Many users while trying to use old directives face no caching - that is intended to escape errors on many servers which are not closely managed. As Apache 2.4 has undergone many changes like HTTP/2 … [Read more...]
How To Remove Query Strings From WordPress For Security
Previously shown how to use the hacking tools like sqlmap to test own WordPress for SQL Injection in White Hat way. We also talked about SQL Injection. Here is how to remove query strings from WordPress for security specially to avoid MySQL injections via PHP files for server running Apache2. For Nginx, we talked about how to remove ?utm_source like query strings in older article. Query strings … [Read more...]