Tech Blog - Web Development

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

0/25

1 to 9 of 10 results

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

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

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
How to increase the WPGraphQL query limit using graphql_connection_max_query_amount

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
Selectively disable image lazy loading in WP 5.5+ (without plugin)

Selectively disable image lazy loading in WP 5.5+ (without plugin)

A better solution is to only disable lazy loading for selected images by class, particularly for images which increase the LCP metric. Continue reading
Create visual database schema with MySQL Workbench

Create visual database schema with MySQL Workbench

Rather than manually creating a visual representation of your database schema, which can be extremely time-consuming and error-prone, MySQL Workbench simplifies this task using their database reverse engineer functionality. Continue reading
NGINX cache based on cookies

NGINX cache based on cookies

If you have a website where it is possible to serve multiple versions of the site using the same URL, you may run into problems where NGINX returns from cache the incorrect version. For example, if your site has multiple themes or you use browser user agent sniffing to provide different content to users. Continue reading
Javascript cookie not working on another page

Javascript cookie not working on another page

When you set a cookie you should specify an expire time and a path. If you don’t specify a path the cookie is accessible only by the current page. Continue reading
Remove Gutenberg CSS Library from WordPress

Remove Gutenberg CSS Library from WordPress

If you’re not using the Gutenberg editor (introduced in WordPress version 5), it is a good idea to remove the Gutenberg CSS which is automatically loaded. Continue reading
WP Synchro SSL error fix

WP Synchro SSL error fix

When you create your first import installation in WP Synchro on your local site, it defaults to verifying the SSL certificate on your local setup. Continue reading

1 to 9 of 10 results