Safari on both macOS and iOS – link font preload with crossorigin=”anonymous” not working loading from the same domain

I recently had an issue where fonts loaded via link HTML element with crossorigin=”anonymous” attribute would mysteriously not load but only in safari (both ios and macOS). Firefox and Chrome on Linux desktop and android mobile were handling the same code without an issue. For the purpose of this post – the domain in question: … Read more

Mezzio php framework – setting up with php-fpm and nginx reverse proxy (with docker containers and docker compose)

This article is about mezzio+php-fpm, if you are looking for mezzio+swoole -> see this post here. There are many reasons why you may want to use nginx reverse proxy in front of your application – (such as mezzio php framework with php-fpm). Reasons to use nginx with your php-fpm applications: efficient serving of static assets … Read more

Mezzio php framework – using swoole/openswoole with nginx reverse proxy (with docker containers and docker compose)

There are many reasons why you may want to use reverse proxy in front of your application – (such as mezzio php framework with swoole/openswoole). Reasons to use nginx with your php+swoole/openswoole applications: efficient serving of static assets – while swoole will serve it very efficiently, but it will never beat raw compiled performance of … Read more

Google tag manager – partial publish, publish only one tag and not the others. Cherry-pick changes

When working with GTM as a team – people tend to always just use a single “default workspace” for all chnages. And this creates situations where there sometimes could be a mix of changes – some ready to publish and some not. If you find yourself wondering about how to to publish just some tags/changes … Read more

Mezzio swoole/openswoole – determine if we are in a worker or task worker process

I’m a huge fan of swoole/openswoole for php as It solves a lot of hard scalability problems for us that is hard to solve otherwise in php. One of these problems is connection pooling. Why use connection pools for your redis or mysql connections? – but for speed of course! it takes relatively significant amount … Read more