How To Install WordPress on DigitalOcean with Sail
Konstantin Kovshenin
by Konstantin Kovshenin
2y ago
Sail is a great and much more affordable alternative to traditional and managed WordPress hosting. It’s a free and open source CLI tool to provision and manage WordPress applications in the DigitalOcean cloud. While the 1-click WordPress installer does the job for many DigitalOcean users, it’s very limited for power-users and developers. Sail CLI fills ..read more
Visit website
Sail Premium is Here + Giveaway
Konstantin Kovshenin
by Konstantin Kovshenin
2y ago
Hey folks, hope you’re having a great 2022 so far! I’ve been working on some premium features for Sail CLI over the past few weeks and I would love for you to try them out. Sail Premium is a collection of additional features for Sail CLI, hosted and operated by us, integrated seamlessly into your ..read more
Visit website
Surge: A simple Page Caching Plugin for WordPress
Konstantin Kovshenin
by Konstantin Kovshenin
2y ago
Meet Surge, a brand new page caching plugin for WordPress. It’s extremely fast and has no configuration screens. There is no learning curve, the plugin works just by activating it. Surge stores cache files on the filesystem, leveraging the Linux kernel page cache for efficient in-memory caching and invalidation. In various load tests, Surge has ..read more
Visit website
PHP Benchmark: include() vs file_get_contents()
Konstantin Kovshenin
by Konstantin Kovshenin
2y ago
TLDR: include() can be significantly faster than file_get_contents(), if certain conditions are met. I’m building a simple page caching plugin to ship with Sail CLI for WordPress. I’ve already decided that the filesystem is going to be the primary storage method and ran some benchmarks against Redis and Memcached, the results were satisfying. However, even ..read more
Visit website
Redis vs Memcached vs file_get_contents
Konstantin Kovshenin
by Konstantin Kovshenin
2y ago
I read articles about web performance and scaling almost every day, and when it comes to caching, the vast majority of them promote tools like Redis and Memcached, which are really fast, in-memory key-value stores. Their performance metrics, the requests per second, how easy it is to scale them and all their great features, will ..read more
Visit website
Page Caching on the Filesystem
Konstantin Kovshenin
by Konstantin Kovshenin
2y ago
A few months ago I set out to build a page caching plugin for WordPress from scratch and streamed it live. The result was a simple filesystem-based advanced-cache.php implementation. It was nowhere near perfect, but it worked. It worked so well, that I decided to put some more effort into it, and I’m happy to report that it’s been running successfully on some production sites published with Sail over the past few weeks, and since quite a few Sail users have asked for a built-in caching implementation, this looks very close to what could be it. In this post I’ll share some of the concepts behin ..read more
Visit website
Sender header with wp_mail()
Konstantin Kovshenin
by Konstantin Kovshenin
2y ago
I was playing around with my Postfix configuration, trying to get a setup working with multiple different domains. My goal was to be able to use a different relay host and authentication, based on the sender’s address in the message. This turned out to be quite a simple solution — there’s a Postfix configuration setting called sender_dependent_relayhost_maps, which does exactly that. Problem solved, yeah? No. Unfortunately it didn’t work with WordPress’ wp_mail(), which sent me on a fun digging journey. I found the ticket #37736 which is essentially trying to be really nice to hosting provider ..read more
Visit website
Cache Invalidation with Flags
Konstantin Kovshenin
by Konstantin Kovshenin
2y ago
Cache invalidation is hard, proven times and times by the “clear cache” and “delete all caches” buttons in various caching plugins and hosting control panels. While some of the concepts in this post are applicable to various types of caching, I’ll stick to page caching for simplicity, and of course WordPress. How page caching works I’m not going to go into much detail here. I’ve done a live stream a few months ago where I wrote a page caching plugin from scratch for WordPress. If you’re interested in the nuts and bolts, go check that out. Otherwise, here’s a very simple version of what happens ..read more
Visit website
WordPress Performance Profiling with Sail CLI
Konstantin Kovshenin
by Konstantin Kovshenin
2y ago
Having to deal with performance problems on a WordPress site is never too pleasant, partly because the tooling is not great. Things like Query Monitor and the Debug Bar series of plugins can certainly help to some extent, but often times they’re not enough, because they do things in PHP, which is limited to, well… PHP. Moreover, when reporting on database queries or remote HTTP requests, these tools will rely on the WordPress database and HTTP APIs, so if some theme or plugin happens to do a direct call to mysqli_query(), or file_get_contents(), etc., which is often the case with external thir ..read more
Visit website
Video: Fast and reliable e-mail in WordPress with Sail
Konstantin Kovshenin
by Konstantin Kovshenin
2y ago
During this live stream I covered some of the wp_mail() things I wrote about earlier, and did some live performance testing with SMTP plugins, Mailgun, Postfix and more. Don’t forget to subscribe if you learned something new! Click here to comment More from Konstantin Kovshenin wp_mail() is NOT broken Configuring Mailgun for WordPress with Sail CLI Fun with Blueprints in Sail CLI for WordPress I’m LIVE: An Introduction to Sail for WordPress Push-to-Deploy with Sail and GitHub Actions The post Video: Fast and reliable e-mail in WordPress with Sail appeared first on Konstantin Kovshenin ..read more
Visit website

Follow Konstantin Kovshenin on FeedSpot

Continue with Google
Continue with Apple
OR