PHP 8.0 Features

PHP 8 has been officially released to the General Availability on November 26, 2020! This new major update brings many optimizations and powerful features to the language. I will discuss the most interesting changes here. Here are the main features : PHP JIT (Just in Time Compiler) New PHP Functions PHP 8 Performance Benchmarks PHP …

Steps to be taken to speed up websites

POINTS MENTIONED BY BARIS 1. Initial Speed Test Use a third party service called GTmetrix because it has the most accurate measurements to determine how fast (or slow) your page load. Initial speed test and the final speed test should be done in (more or less) the same environment. For each speed test, run GTmetrix …

Steps required for adding sites to AWS

Step 1 : Sign in to the AWS Management and open the Amazon S3 -> https://console.aws.amazon.com/s3/ Step 2 : Click on Create bucket. In the Bucket name field, type a unique name for your new bucket. *The name must be unique across all existing bucket names in Amazon S3. For Region, choose the Region where …

How To Fix Defer Parsing of Javascript Warning in WordPress Using Async

You can do defer JS in WordPress and that is by editing your theme’s functions.php file. Simply copy the code below and paste it at the bottom of your theme’s function.php file: function defer_parsing_of_js ( $url ) {   if ( FALSE === strpos( $url, ‘.js’ ) ) return $url;   if ( strpos( $url, …

Fixing brute force login attempts in wordpress websites

Brute force attack on wordpress website comes from 2 ways. 1) Through “xmlrpc.php” Solution -> Add a plugin (https://wordpress.org/plugins/disable-xml-rpc/) for disabling it. Don’t do this manually by custom code because we don’t want it to be disabled completely. It is used with some plugins such as “Jetpack”. Source of solution -> https://www.hostinger.in/tutorials/xmlrpc-wordpress 2) Through “wp-login.php” …