-
Notifications
You must be signed in to change notification settings - Fork 2
Server configuration
Branch is hosted on Jack's servers. This page provides an overview of the server set-up.
The server has the Google page speed running on it. This provides features which boost the performance of the site.
CSS and JS treatment - CSS and JS files are automatically minified when served. This means we do not need to run separate build tasks, such as gulp or grunt files, to achieve minification.
Image treatment - images are served in the WebP format where the browser supports it. Its also involved in serving bandwidth aware images.
The server has some pretty strong caching going on.
The server uses FastCGi cache to cache the sites files. Cached files are stored in a separate directory, and then refreshed hourly. If the files are not refreshed for any reason, the previously cahced files will be served instead. this provides really good site resilience in the case of server problems.
There is an NGinx Helper plugin installed inside WordPress, so the site's cache can be flsuhed without needing to SSH into the server.
Currently running PHP 8.
The site uses a Let's Encrypt certificate which automatically renews. This is managed via CertBot.
Currently the server is backup daily by GreenNet, the site's hosting provider. The GreenNet account is managed via Jack, and the server holds several sites, not just Branch. So the server backups are not assumed to be accessible by anyone other than Jack.
A backup approach for the WordPress install itself is currently running thorugh Hannah's ManageWP account.
Jack has set-up several cron jobs to ping the site every hour and detect for failures. These cron jobs test the efficacy of both the cached and uncached versions of the site.
WP-CLI is enabled on the server.