Account created on 16 May 2012, over 12 years ago
#

Recent comments

🇦🇺Australia standingtall

Unfortunately, this has resurfaced again.

1) I have hidden most fields on Taxonomy default view
2) Full mode has been configured

However, views cache result still picks up whole entity and saves it in cache_views_data and fills it up in no time.

I have Entity Cache, Display Suite enabled as well.

Only thing that helps if I turn off caching of Query results.

🇦🇺Australia standingtall

It turned out to be an issue with perusio config for Nginx.

Adding this fixed the issue.

Apparently it was giving 404 to some files, forcing Advagg to then regenerate those files.

   ###
    ### advagg_css and advagg_js support
    ###
    ###
    location ~* files/advagg_(?:css|js)/ {
      gzip_static on;
      access_log  off;
      expires     max;
      add_header  ETag "";
      add_header  Cache-Control "max-age=31449600, no-transform, public";
      try_files   $uri $uri/ @drupal;
    }
🇦🇺Australia standingtall

After upgrading to new version, links tracked by gotwo module (below) stop tracking.

Drupal.googleanalytics.isInternalSpecial = function (url) {
  var isInternalSpecial = new RegExp("(\/go\/.*)$", "i");
  return isInternalSpecial.test(url);
};
🇦🇺Australia standingtall

Sorry just need a bit more help. I was able to hide fields on a taxonomy term but will need to create a different view for content types. How can I use a different display view in Views? I couldn't find any option. Cheers

🇦🇺Australia standingtall

Indeed an issue with Google Analytics Module

White space and "=" in regular expressions cannot be handled properly. #44
https://github.com/sqmk/pecl-jsmin/issues/44

Solution - exclude googleanalytics.js from Jsmin.

🇦🇺Australia standingtall

Thanks.

After few hours and trial and error, disabling and enabling the base Bootstrap theme fixed it in an instant. Not sure how it was affecting aggregate generation but all good now.

🇦🇺Australia standingtall

This seems like an abandoned project. I would highly advise against using Advagg on production sites as it's extremely unreliable out of box and by the sheer amount of unanswered support queries, it seems it has been abandoned.

Anyone with same issue, your only option seems like using Drupal Add Js to manually balance the aggregates by trial and error.

// loading font awesome separately to get it into aggregates

drupal_add_css(drupal_get_path('theme', 'mytheme') . '/font-awesome/css/font-awesome.min.css');
🇦🇺Australia standingtall

Update:

Replica site shows 156 bundler groupings. Production sites show 86 bundler groupings. They have exactly same codebase.

🇦🇺Australia standingtall

I set up a replica server. Same configuration, both generate different size CSS bundles.

Removed Advagg, re-installed and still no luck.

It appears when you turn it on first time, it picks up a logic and sticks with it.

I am this close to ditching Drupal after 12 years due to how critical Advagg is and how unreliable it is.

🇦🇺Australia standingtall

Some more information.

I have a view which shows just the logos of from 10 taxonomy terms. Output is saved as all the fields on entire taxonomy term (20 fields attached to it). Why does output have to rendered all the fields to show just 1?

Production build 0.71.5 2024