doing nothing
-
What may be the reason for bwp-minify to be doing nothing? On the settings page it confirms settings have been updated succesfully, so no problem on writing, but even with default settings, looking at the html source, css and js files are not unified.
Cache (wp super cache) is turned off, and browser cache has been deleted, so it is not about seeing a cached html.
-
Can you post the html source somewhere so I can see ? Do you see any files logged under BWP Minify > Manage Enqueued Files ?
Thanks for your answer. Where should I look for the log files? There is no such file under wp-content/plugins/bwp-minify/
Here is the beginning of the html source, without any trace of the plugin working:
<!doctype html> <!--[if lt IE 8]> <html class="no-js lt-ie8" lang="hu-HU" prefix="og: http://ogp.me/ns#"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9" lang="hu-HU" prefix="og: http://ogp.me/ns#"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="hu-HU" prefix="og: http://ogp.me/ns#"> <!--<![endif]--> <head> <meta charset="utf-8"> <title>KVALIX Automatika Kft.</title> <link href='http://fonts.googleapis.com/css?family=Titillium+Web:300,600&subset=latin-ext' rel='stylesheet' type='text/css'> <!-- This site is optimized with the Yoast SEO plugin v3.0.7 - https://yoast.com/wordpress/plugins/seo/ --> <meta name="description" content="Alapítása, 1990 óta ipari automatizálással foglalkozik, különösen érzékelők és PLC-k szakértő disztribúciójával, ám egyedi gép- és alkatrészgyártással is."/> <meta name="robots" content="noodp,noydir"/> <link rel="canonical" href="http://www.kvalix.hu/" /> <link rel="publisher" href="https://plus.google.com/+kvalix"/> <meta property="og:locale" content="hu_HU" /> <meta property="og:locale:alternate" content="en_US" /> <meta property="og:locale:alternate" content="de_DE" /> <meta property="og:locale:alternate" content="fr_FR" /> <meta property="og:type" content="website" /> <meta property="og:title" content="KVALIX Automatika Kft." /> <meta property="og:description" content="Alapítása, 1990 óta ipari automatizálással foglalkozik, különösen érzékelők és PLC-k szakértő disztribúciójával, ám egyedi gép- és alkatrészgyártással is." /> <meta property="og:url" content="http://www.kvalix.hu/" /> <meta property="og:site_name" content="Kvalix" /> <script type='application/ld+json'>{"@context":"http:\/\/schema.org","@type":"WebSite","url":"http:\/\/www.kvalix.hu\/","name":"Kvalix","potentialAction":{"@type":"SearchAction","target":"http:\/\/www.kvalix.hu\/?s={search_term_string}","query-input":"required name=search_term_string"}}</script> <script type='application/ld+json'>{"@context":"http:\/\/schema.org","@type":"Organization","url":"http:\/\/www.kvalix.hu\/","sameAs":["https:\/\/facebook.com\/KvalixAutomatika","https:\/\/www.linkedin.com\/company\/kvalix","https:\/\/plus.google.com\/+kvalix","http:\/\/www.youtube.com\/c\/kvalix"],"name":"Kvalix Automatika Kft.","logo":"http:\/\/www.kvalix.hu\/wp-content\/themes\/kvalix\/images\/logo.svg"}</script> <!-- / Yoast SEO plugin. --> <link rel='stylesheet' id='normalize-css' href='http://static.kvalix.hu/themes/kvalix/bower_components/foundation/css/normalize.css?ver=2.1' type='text/css' media='all' /> <link rel='stylesheet' id='slick-css' href='http://static.kvalix.hu/themes/kvalix/bower_components/slick-carousel/slick/slick.css?ver=2.1' type='text/css' media='all' /> <link rel='stylesheet' id='themestyle-css' href='http://static.kvalix.hu/themes/kvalix/style.css?ver=2.1' type='text/css' media='all' /> <link rel='stylesheet' id='shiftnav-css' href='http://static.kvalix.hu/plugins/shiftnav-pro/pro/assets/css/shiftnav.min.css?ver=1.3.0.2' type='text/css' media='all' /> <link rel='stylesheet' id='ubermenu-css' href='http://static.kvalix.hu/plugins/ubermenu/pro/assets/css/ubermenu.min.css?ver=3.2.2.1' type='text/css' media='all' /> <link rel='stylesheet' id='ubermenu-font-awesome-css' href='http://static.kvalix.hu/plugins/ubermenu/assets/css/fontawesome/css/font-awesome.min.css?ver=4.3' type='text/css' media='all' /> <link rel='stylesheet' id='shiftnav-custom-css' href='http://static.kvalix.hu/plugins/shiftnav-pro/custom/custom.css?ver=1.3.0.2' type='text/css' media='all' /> <link rel='stylesheet' id='ductile-embed.css-css' href='http://static.kvalix.hu/plugins/ductile-responsive-video/css/ductile-embed.css?ver=1.1.0' type='text/css' media='all' /> <script type='text/javascript' src='http://static.kvalix.hu/themes/kvalix/bower_components/modernizr/modernizr.js?ver=2.1'></script>I think to have found the reason: on the manage enqueued files page, all of the css and js files are marked as “ignored in header” or “ignored in footer”. I do not see however how to overwride this.
I have found also why the files were marked as ignored, and so were not minified.
It is because in wp-config.php I have set WP_CONTENT_URL to be different from where the html files are coming. This is done to have faster load times by serving the static files (pictures, css, js etc.) from a cookie free domain. So despite being under wp-content/uploads, these files are referenced as static.mywebsite.com instead of http://www.mywebsite.com.
Is there any way to have bwp-minify working with such settings?
I see. It is not currently possible for BWP Minify to support this at the moment. However, if you’re comfortable with hacking the codes, I can show you the way, or just wait I will release a new version (probably this Jan) with an option that allows you to set a list of domains to NOT ignore.
The topic ‘doing nothing’ is closed to new replies.