plugin-icon

Speed Up – Optimize CSS Delivery

لصاحبه nigro.simone·
This plugin load the stylesheets asynchronously and improve page load times.
التقييم
5/5
النسخة
1.0.11
التنصيبات النشطة
1K
آخر تحديث
Mar 5, 2023
Speed Up – Optimize CSS Delivery

This small plugin (5 Kb) loads the stylesheets asynchronously and improve page load times.

The recommended use of this plugin is to load your vital stylesheets synchronously and non-vital CSS files asynchronously. Non-vital CSS-files can be for example: fonts, icons, before the fold template-specific CSS, etc.

You can choose which files to load synchronously with a filter in your function.php, eg.:

// exclude main and child stylesheets from delivery optimization function exclude_from_delivery_optimization($handle){ return in_array($handle, array('main-stylesheet', 'child-stylesheet')); } add_filter('speed-up-optimize-css-delivery', 'exclude_from_delivery_optimization');

Note: this only works if your other plugins and theme add the CSS correctly.

مجانيعلى خطة Business
إذا أتممت بالتثبيت، فإنك توافق على شروط خدمة ووردبريس.كوم ووشروط إضافات الأطراف الثالثة.
تم اختباره حتى
WordPress 6.0.11
تتوفّر هذه الإضافة للتنزيل لتُستخدم في عملية التثبيت لديك.