Tech Blog

Web development tips, tricks and tutorials for web developers of all levels.

1 to 10 of 18 results

Fix Cloudflare 'StorageType.persistent is deprecated' Error in Google Lighthouse

Fix the Cloudflare 'StorageType.persistent is deprecated' error that causes Google Lighthouse to give low Best Practices scores. Complete step-by-step guide with screenshots and benefits/considerations. Continue reading

Using Prettier to format PHP code in VS Code

Learn how to use Prettier to format PHP code in VS Code using the @prettier/plugin-php community plugin. Complete setup guide with configuration examples and troubleshooting tips. Continue reading

Using shallowRef with Nuxt 3 useFetch for better performance

Learn how to optimize your Nuxt 3 applications by using shallowRef with useFetch. Discover the performance benefits and when to use deep: false for better reactivity management. Continue reading

Tailwind CSS 4 - Overriding or replacing screen sizes (breakpoints)

Learn how to override and customize screen sizes (breakpoints) in Tailwind CSS 4's new CSS-first configuration system. Includes migration tips, practical examples, and troubleshooting guide. Continue reading

How to increase the WPGraphQL query limit using graphql_connection_max_query_amount

By default, WPGraphQL limits the amount of posts per page that you can query at any one time to 100. But by adding a simple filter & function you can change this limit to any value. Continue reading

Tailwind CSS - Using subgrid to align child content

As of Tailwind CSS 3.4, CSS subgrids are now available. In this article, we will look at how we can use the new subgrid option to fix a very common layout alignment issue. Continue reading

How to clear NGINX cache

There are situations where you might need to clear the NGINX cache, such as updating content or resolving caching issues. In this guide, we'll walk you through the steps on how to clear the NGINX cache. Continue reading

Tailwind CSS - How to make a grid with different width columns

Explore how to create a two-column grid as an example using Tailwind CSS, where the first column takes up 20% of the width, and the second column occupies the remaining 80% using 3 different methods to accomplish this. Continue reading

Force SSH Client to use specific private key

SSH config files allow you to define various configuration parameters for SSH connections. By creating a centralized configuration file, you can avoid the need to specify key files, usernames, and other connection details each time they connect to a server. Continue reading

Storing money data in MySQL

When dealing with monetary values, it's crucial to use a data type that supports fixed-point arithmetic. Explore the best practices for storing money data in MySQL to ensure data integrity and precision. Continue reading

1 to 10 of 18 results