Skip to content
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

Open
shadyvb opened this issue Oct 30, 2013 · 4 comments
Open

Introduce a button to force-trigger the minification process #45

shadyvb opened this issue Oct 30, 2013 · 4 comments

Comments

@shadyvb
Copy link
Contributor

shadyvb commented Oct 30, 2013

Relates to #43

@lkraav
Copy link

lkraav commented Feb 11, 2014

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?

@westonruter
Copy link
Contributor

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.

@lkraav
Copy link

lkraav commented Feb 11, 2014

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.

@westonruter
Copy link
Contributor

I do not. My time is limited to look at this plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants