Daniel Wentsch

Setup Statamic Static Caching for super fast websites

Setting up Static Caching in Statamic isn't too hard and brings a huge performance boost. Here are the steps I had to take to enable it both locally with Laravel Valet and on a production server managed through Laravel Forge. Enable and configure NginxEnable Static caching by setting …

Make Alpine 3 support legacy browsers

Today I learned that AlpineJS 3.x uses queueMicrotask – and that that’s an API not supported in Firefox < 69 and Safari < 12.1 (see caniuse for full support information). Luckily, this can easily be polyfilled: if (typeof window.queueMicrotask !== "function") { window.queueMicrotask = function …