-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce a button to force-trigger the minification process #45
Comments
When I'm setting up fresh new sites, I'm noticing I'm not able to get the minification process triggered in a reasonable amount of time by just browsing. Is this force button the thing I'm looking for? |
Yes, and/or instead of scheduling an “immediate” minification action, it could do the minification inline (on the fly) if an admin user is browsing the site. This would result in slower initial page loading for admin users, but at least the minification results would appear faster. However, there are unique scripts that only get enqueued when a user is logged in, so actually the minified scripts may not even be the same ones that end users would normally see. There could be a query_var for force-triggering such inline minification even for non-authenticated users. WordPress could then cURL the siteurl with this query_var to trigger inline minification. |
Does anyone here have any quick hack level code stashed right now to achieve any one of these quick minification trigger strategies? Can be totally non-polished. |
I do not. My time is limited to look at this plugin. |
Relates to #43
The text was updated successfully, but these errors were encountered: