Once you install WordPress with some plugins and finish customizing your theme, you usually stock with performance issues.
Installing and configuring a good caching plugin, you will enhance your first byte and website speed, but you getting low rank on google page speed.
The reason for that, each WordPress plugin come with it\’s assets (js/scss files) and most of them are not really used or required, but WordPress does not offer a way to control those injected files in your themes.
GSP Assets Manager offer an easy way to list, review and control WordPress assets.
The plugin also offer a live preview for CSS, so you can disable the CSS file and see the result directly on your website before you save, to avoid breaking the website style.
Download the plugin zip file and upload to wp-content/plugins, then go to plugins and activate the plugin (GSP Assets Manager).
Or you can download it from wordpess plugins directory, by navigating to WordPress backend, then plugins, then add plugin and search for gspmgr.
- How the plugin works?
The plugin simply filter the final output and apply the filter based on your configuration to remove or move js/css files
- Does the plugin affect performance?
No, the plugin tested well, and it use some milli-seconds to process the output.
- What is rules ?
Usually you start with default rule (All), all settings you apply in all rule will affect the whole WordPress website.
But in many cases, you want to load css/js files for in special scenario, like you want to load woocommerce assets only for woocommerce but not in home page or single posts.
or you want to load some assets for home page only but you don\’t want them in the rest of websites.
in this case, once you finish setting up the \’all\’ rule and save, select one of the special rule (like home or search) and click the override button.
The plugin will load default rule, allowing you to modify and save, after that GSP Assets Manager will use apply the rule to the intended pages (like search for search pages)