Optimize loading for sites with the Ultimate Member plugin.
- Removes CSS and JS files that belongs to Ultimate Member and its extensions from pages where there are no Ultimate Member elements.
- Combines CSS and JS files that belongs to Ultimate Member and its extensions on pages with Ultimate Member elements.
- Optimizes SQL queries to get posts and users faster.
Note: This plugin requires the Ultimate Member plugin to be installed first.
Open git bash, navigate to the plugins folder and execute this command:
git clone --branch=main git@github.com:umdevelopera/um-optimize.git um-optimize
Once the plugin is cloned, enter your site admin dashboard and go to wp-admin > Plugins > Installed Plugins. Find the "Ultimate Member - Optimize" plugin and click the "Activate" link.
You can install this plugin from the ZIP file as any other plugin. Follow this instruction.
Go to wp-admin > Ultimate Member > Settings > General > Optimize to manage settings:
-
Dequeue unused CSS files - Dequeue CSS files queued by the Ultimate Member plugin from pages where there are no Ultimate Member elements.
-
Dequeue unused JS files - Dequeue JS files queued by the Ultimate Member plugin from pages where there are no Ultimate Member elements.
-
Combine CSS files - Combine CSS files queued by the Ultimate Member plugin and its extensions.
-
Combine JS files - Combine JS files queued by the Ultimate Member plugin and its extensions.
-
Speed up Activity - (optional) Optimize the SQL query that retrieves posts for the Social Activity extension.
-
Speed up Groups - (optional) Optimize the SQL query that retrieves posts for the Groups extension.
-
Speed up Notes - (optional) Optimize the SQL query that retrieves notes for the User Notes extension.
-
Speed up Photos - (optional) Optimize the SQL query that retrieves albums for the User Photos extension.
-
Speed up member directories - (optional) Optimize the SQL query that retrieves users for the member directory.
This is a free extension created for the community. The Ultimate Member team does not provide support for this extension. Open new issue if you are facing a problem or have a suggestion.
Ultimate Member home page: https://ultimatemember.com
Ultimate Member documentation: https://docs.ultimatemember.com
Ultimate Member download: https://wordpress.org/plugins/ultimate-member