MachStyle
MachStyle helps your pages feel faster by loading critical styles first and delaying selected non-critical CSS. You decide where this happens using simple rules. For many sites, this can help improve Core Web Vitals. MachStyle is designed for practical, low-risk testing: Create rules for specific page groups, post types, or URL patterns. Test changes safely in Test Flight before they affect real visitors. Compare results in performance tools like PageSpeed Insights before going live. Copy tested rules to live settings when ready. Small, measured changes work best. Test, compare, then roll out. How to Use Open MachStyle and go to Test Flight. Add one rule for one page group, such as the home page, a post type, or a URL pattern. Add the style handles you want to defer. Use the Audit Panel to find style handles. Check the page on desktop and mobile. Run PageSpeed on the Test Flight URL and compare the result with your normal live URL. If the page looks correct and the metrics improve, copy the rules to Live Settings. Enable live optimization. How to Use Audit Panel Audit Panel is a tool that helps you find style handles to defer. Open the frontend of your website and open Audit Panel from MachStyle menu in admin bar. Click on any stylesheet to temporarily remove its styling. This shows you what the page looks like for a fraction of second during load. Look at the top of your site. If it still looks readable and organized without that style, it’s a great candidate to stay deferred. If the page looks messy or the header breaks, that style is important for the first impression. Click it again to turn it back on. Once finished, click Copy Handles button to get your optimized list and add it to your MachStyle settings. What to Defer First Start with styles that are useful but not needed immediately: Footer styles Slider and carousel styles Form styles on pages that do not show forms right away Social share or widget styles below the fold Extra builder or block styles not needed at first paint What Not to Defer Avoid deferring styles that control first-view layout: Main theme layout styles Header, menu, and hero section styles Checkout and cart critical styles Any style that causes visible layout shifts when delayed Development & Contribution MachStyle is open source and welcomes contributions! GitHub Repository: https://github.com/Utsav-Ladani/MachStyle Report Issues: https://github.com/Utsav-Ladani/MachStyle/issues Feature Requests: https://github.com/Utsav-Ladani/MachStyle/issues Contribute Code: Fork the repository and submit pull requests
Top keywords
- styles11×2.56%
- machstyle9×2.10%
- page7×1.63%
- style6×1.40%
- live5×1.17%
- test5×1.17%
- audit4×0.93%
- audit panel4×0.93%
- defer4×0.93%
- github4×0.93%
- handles4×0.93%
- looks4×0.93%
Optimize More! – Images
A lightweight yet powerful image, iframe, and video optimization plugin. Lazy load, preload, and more. No jquery dependency. Features Lazy Load – Lazy loading images, iframes, and videos, using the high performant lazysizes.js. No jquery dependency. Preload Featured Images – Automatically preloading featured image from common page/post (homepage, pages except homepage, single post, and woocommerce single product pages). Use CDN for Images – HTML rewrite if you want to serve images from your favorite CDN. Add Missing Image Dimensions – Add missing width and height attributes from your images. New (since 1.1.1) Add no-lazy and skip-lazy class as default exclude class for lazyloading images. Enable loading eager to also target no-lazy and skip-lazy class. Automatically exclude featured image (add no-lazy class) from lazyloading if Preload Featured Images feature is enabled (useful to avoid Largest Contentful Paint image was lazily loaded warning in Google Pagespeed Insights ). Add webp extension to CDN HTML rewrite regex. New (since 1.0.7) We changed the lazy load library from lozad.js to lazysizes.js. Add field to modify lazysize default configuration. Read the docs. Add fields to specify width and height fallback value if the Add Missing Image Dimensions feature failed to get the actual image dimension. New (since 1.0.3) Lazy load CSS Background Images – Load faster by lazy loading background images from the CSS background-image property. Tested and works well on CSS background image from GenerateBlocks, Elementor, and Oxygen Builder. Noscript Fallback – Extra option to use fallback for lazy images and iframes. Add Loading Eager – Extra option to Automatically add loading=eager to the lazy load excluded list. This plugin only adds 1 extra row in your database. And it will self delete upon uninstalation. About Lazysizes Lazysizes is highly performant lazy load library, written by Alexander Farkas in pure JS with no dependencies. Taken from lazysize’s github description: High performance and SEO friendly lazy loader for images (responsive and normal), iframes and more, that detects any visibility changes triggered through user interaction, CSS or JavaScript without configuration. Optimize More! Need to optimize more? Try our WordPress Speed Optimization’s Service. Other USEFUL PLUGINS TO OPTIMIZE YOUR SITE’S SPEED: Optimize More! – Selectively Optimize your CSS/JS Delivery: Load CSS Asynchronously, Delay CSS and JavaScripts until User Interaction, Preload Critical CSS and JavaScripts, and Remove Unused CSS and JavaScripts Files. Lazyload, Preload, and more! – A simplified version of this plugin. The plugin size is only around 14kb zipped. Without UI for settings, but you can customize the settings using filters. The default configuration is the best for optimizing images and other media files to speed up your site (just install and activate it and you’re good to go): lazyload your below the fold images/iframes/videos, preload your featured images, and add loading=”eager” to your featured image and all images that have no-lazy or skip-lazy class. Other USEFUL PLUGIN: Shop Extra – A lightweight plugin to optimize your WooCommerce & Business site: Floating WhatsApp Chat Widget (can be use without WooCommerce), WhatsApp Order Button for WooCommrece, Hide/Disable WooCommerce Elements, WooCommerce Strings Translations, and many more. Animate on Scroll – Animate any Elements on scroll using the popular AOS JS library simply by adding class names. This plugin helps you integrate easily with AOS JS library to add any AOS animations to WordPress. Simply add the desired AOS animation to your element class name with “aos-” prefix and the plugin will add the corresponding aos attribute to the element tag.