I got the module working fine. It is compressing and aggregating almost all files fine except one.
The files is a javascript file. It is part of meanmenu jquery plugin: meanmenu/jquery.meanmenu.fork.js
It is inside a theme/js/meanmenu directory. What I could not figure out is why only this file is not getting compressed. Looking at the list of js files under information tab, the file is not listed. So I am suspecting the file is skipped or not seen by the module.
Other javascript directories/files under theme/js are getting compressed and aggregated fine.
There are no errors listed for this file under status report.
There is a strange overall message in status report : gzip is failing for js files. But it seems to be working for all files I can.
I tried to create debug output using advagg-debug=1 but don't know what it put in deblog but I can't see my dblog anymore. Probably a different issue.
Comments
Comment #2
ajayg CreditAttribution: ajayg as a volunteer commentedIf I use bundler and set it to target one javascript and also using modifier module tag all javascript for preprocessing then the module sees the file and is compressing fine. BUt don't know why it would skip otherwise if I don't use bundler and modifier module.
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedHow is the JS getting added to the page? Via https://www.drupal.org/project/responsive_menus, https://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_... or something else?
dblog is located here admin/reports/dblog; under the modules page it's listed as "Database logging"
Comment #4
ajayg CreditAttribution: ajayg as a volunteer commentedIt is getting added from template.php with a call to drupal_add_js as following
drupal_add_js(drupal_get_path('theme', 'themename') .'/js/meanmenu/jquery.meanmenu.fork.js', array('preprocess' => false));
I know the path to dblog, But there was something in Dblog after debug that It would crash if I goto admin/reports/dblog. I had to wait till that info was eventually wiped out.
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedSee drupal_add_js,
This is explicitly set to false. AdvAgg does not touch these files as they do not get aggregated. On the
admin/config/development/performance/advagg/mod
page "Enable preprocess on all JS" has nothing to do with the bundler; as this will override preprocess and make it TRUE for all files regardless of that setting.In your template.php file change the code to this (remove the second argument).
That should fix the issue for you.
Comment #6
ajayg CreditAttribution: ajayg as a volunteer commentedThank you for your prompt reply.