Using webpack 5 with Font Awesome 5

Both projects dont need any lengthy introductions for anyone familiar with web development. Most popular bundler and icons library out there at the time of the writing. Here’s how to use them together: Install Font Awesome 5 Install font-awesome using npm. This is the most maintainable way as npm update will refresh the dependencies for … Read more

Apache – enabling brotli compression with gzip/deflate fallback

Edit: October 2022 – I’ve also added tutorial for configuring nginx with brotli compression with gzip fallback (handling both statically compressed files and dynamic content): Brotli is a relatively new generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding, and 2nd order context modeling. … Read more

Php convert long array syntax to short

Php introduced new short array syntax ‘[]’ back with PHP version 5.4. Practically we may still work on some older projects where we may encounter those long formatted array() syntax. And also – there is nothing wrong with using a long syntax, it’s not like it’s deprecated or anything. Some of us do however strongly … Read more

Using w3tc (W3 Total Cache) cache with wordpress bedrock

As anyone who ever seriously developed with wordpress – it is not the platform that is necessarily known for solid software architecture and modern development practices. WordPress does absolutely excel in other areas though – such as UI and ease of use. It’s end-user-friendliness (but let’s not mistake end-users with software developers) is unparalleled, which … Read more