Web Development

Website development, speed and security

I'm a freelance developer, Hire Me
10 min read. Steadily more people are having difficulties with the speed of their WooCommerce, and that might not be so surprising - because the number of WooCommerce stores is rising every day. I also read more and more bad suggestions on how to speed up WooCommerce.

Fast CPU is best for WordPress performance, this article tested all the DigitalOcean server types to identify the fastest.

HTTP/2 promises better performance with multiplexing but real world examples show it needs more work. You should still combine JS & CSS resources.

Page speed will be a ranking factor for mobile searches

Time to move on from PHP 5.6

The last planned release of PHP 5.6 has now taken place - release 5.6.30. This is the last release that contains planned bug fixes. Any further updates will only take place for security updates and that’s limited to the next two years. Plan to upgrade to PHP 7 - if you are still using 5.6 then you are burying your head in the sand.

An article on code complexity in PHP frameworks. Laravel is a clear winner.

Measuring Code Complexity

Last week as I was refactoring and cleaning Laravel for the 5.4 release, Graham Campbell showed me some code complexity statistics for the framework. I decided to compare this against some other PHP frameworks to see how Laravel stacks up. I looked at a few metrics.

Caching makes things faster. You can use HTTP headers to ask a browser to cache XHR (XMLHttpRequest) and Fetch requests however watch out for the back button. It appears that the back button is a history mechanism and it shouldn’t try to show the current state of a resource. Read more in the article below.

You Do Not Understand Browser History :: madhatted.com

The browser does not respect HTTP caching rules when you click the back button.

Recently Ars deputy editor downloaded a list of more than 16,000 cryptographically hashed passcodes. Within a few hours, he deciphered almost half of them.