Description
Performance Optimisation helps you optimize your website’s speed by offering features like cache management, JavaScript and CSS minification, image conversion, lazy loading, preloading, and more. With an intuitive dashboard, detailed settings, and useful tools, it simplifies performance enhancement for your website.
Features:
- Dashboard with an overview of cache, JavaScript, CSS, and image optimization status.
- Cache management tools, including size display and a “Clear Cache” button.
- JavaScript & CSS Optimization: Minify, combine, and exclude specific files.
- Image optimization: Convert images to WebP and AVIF formats.
- Preload settings for cache, fonts, DNS, and images.
- Advanced lazy loading options.
- Import/export plugin settings.
Usage
-
Dashboard Overview
- View cache size and clear cache.
- Check the number of minified JavaScript and CSS files.
- Monitor image optimization (WebP/AVIF status).
- Review recent plugin activities.
-
File Optimization Settings
- Minify JavaScript, CSS, and HTML.
- Combine CSS and exclude specific files.
- Defer and delay JavaScript loading.
-
Preload Settings
- Enable cache preloading.
- Preconnect to origins and prefetch DNS.
- Preload fonts, CSS, and images.
-
Image Optimization Settings
- Lazy load images with SVG placeholders.
- Convert images to WebP/AVIF formats and exclude specific images.
- Preload feature images for selected post types.
-
Tools
- Import/export plugin settings for quick setup.
Composer Libraries
This plugin uses the following composer libraries:
voku/html-min
– For HTML minification.matthiasmullie/minify
– For JavaScript and CSS minification.
Composer configuration:
{
"name": "nilesh/performance-optimisation",
"description": "A package for performance optimization, including HTML minification and code minification tools.",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "nilesh",
"email": "[email protected]"
}
],
"require": {
"voku/html-min": "^4.5",
"matthiasmullie/minify": "^1.3"
},
"extra": {
"cleanup": {
"dirs": ["bin", "tests", "docs"],
"exclude": ["*.md", "*.yml", "*.xml", "tests", "docs"]
}
}
}
Installation
- Upload the plugin files to the
/wp-content/plugins/performance-optimisation
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Configure the settings via the Performance Optimisation menu in the WordPress admin panel.
FAQ
-
How do I optimize images using this plugin?
-
Go to the Image Optimization Settings tab, enable image conversion, and choose the format (WebP, AVIF, or both). Click “Optimize Now” to start the process.
-
Can I exclude specific JavaScript or CSS files from minification?
-
Yes, in the File Optimization Settings tab, use the provided text areas to list files you want to exclude.
-
Does the plugin support lazy loading for images?
-
Yes, lazy loading can be enabled in the Image Optimization Settings tab. You can also use SVG placeholders for better performance.
-
How can I import/export plugin settings?
-
Use the Tools section to export your current settings or import settings from another instance.
Reviews
Contributors & Developers
“Performance Optimisation” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Performance Optimisation” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
Initial release with full functionality:
Dashboard overview.
Cache management.
JavaScript, CSS, and HTML optimization.
Advanced image optimization and lazy loading.
Preloading settings for cache, fonts, and images.
Import/export settings tools.