Recommended Settings
Prerequisites
WebP Conversion
For WebP conversion submit a ticket to SRE with the ff details:
Summary: Enable WebP Conversion
Description: DOMAIN
Make sure the aios-optimize is installed first.
Themes
AIOS Starter Theme(Parent), for version 2.0.3 and lower, comment out this line ff. on functions.php
- add_action( ‘wp_enqueue_scripts’, ‘ai_starter_theme_concatenate_google_fonts’, 12 );
AIOS Starter Theme(Child/Active Theme), comment out this line ff. on functions.php
- add_action( ‘wp_enqueue_scripts’, ‘ai_starter_theme_remove_media_queries_from_child_stylesheet’, 13 );
Plugins
Check the ff. plugins if it meets the required version or plugin conflict.
- AIOS Initial Setup should be at least version 5.5.1
- Remove the ff. plugins:
- Autoptimize
- WP Rocket
- W3 Total Cache
- WP Fatest Cache
- WP Optimize
- WP Cloudflare Super Cache
- Hummingbird
- WP Super Cache
- WP Performance Score Booster
On Cycloneslider settings, remove unused templates(Dark, Default, Standard, Thumbnails) and scripts(Carousel, Tile, Video).
Optimization
CSS Minification and Optimization
- Minify CSS: Checked
- Minify these handles (one per line): Specify the handler name of css that need to be compiled except for dynamic styles per page(one per line), to view the list of enqueued files click the buttons below
- Defer CSS: Checked
- Do not defer these handles (one per line): Specify the CRITICAL CSS handler name of css to be excluded (one per line)
JavaScript Minification and Optimization
- Minify JavaScript: Checked
- Minify scripts with these handles (one per line): Specify the handler name of scripts that need to be compiled except for dynamic styles per page(one per line)., to view the list of enqueued files click the buttons below
- Defer CSS: Checked
- Delay JS Execution: Specify keywords that can identify inline or JavaScript files to be delayed(one per line)
For every “Save Changes”, you need to click “Purge and Compile CSS & JS”.
Others
- WebP Conversion: Checked
- Minify HTML: Checked (uncheck if issues are encountered)
- Minify Inline Style: Checked
- Minify Inline Scripts: Checked (uncheck if issues are encountered)
- Google Fonts Migration: Unchecked (This need to checked if google font path is from v1)
- Add lazy load to images: Checked (uncheck if issues are encountered)
- Add lazy load to iframes: Checked (uncheck if issues are encountered)
- Add lazy load to background images: Checked (uncheck if issues are encountered)
- Dequeue IHF/IDXB on Homepage: Uncheck (Check if IHF/IDXB is not use on Homepage)
- Remove Contact Form 7 on Homepage: Uncheck (Check if no contact form 7 on Homepage)
- Remove jQuery Migrate: Checked
- Enable WP Emoji: Uncheck
- Preload Largest Contentful: Preloaded image are determine by Google PSI , to check test it to Google PSI then check for section “Largest Contentful Paint element” under “Opportunities” then add the image path to textarea.
Last updated on