OddOneOut / bwp-minify

A WordPress Minification plugin that relies on Minify PHP library and WordPress's enqueueing system to serve minified CSS and JS to your audience
http://betterwp.net/wordpress-plugins/bwp-minify/
49 stars 23 forks source link

Use protocol agnostic minify url #30

Open AppFull opened 9 years ago

AppFull commented 9 years ago

If the url not strict (accessible from ssl & non ssl) the url use cache (WP Super Cache), so sometimes on ssl page still loaded http://....

how to strip the http or https? and use // instead full site url

<link rel='stylesheet' id='bootstrap-group-css' href='//site.com/wp-content/plugins/bwp-minify/min/?f=wp-content/themes/...... />
<script type='text/javascript' src='//site.com ... />