Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi:
I just installed this and want to say it is a really great module. Thank you. I have one question.
I think I have figured out how it is working and set it up correctly. It is doing a great job of compressing the pages for my anon visitors. When I look in Yslow it seems like there is one js file that is not getting Gzipped. It is the Google tracking js file, which is stored in a Google folder under "files".
Am I doing something wrong to prevent this getting compressed, or perhaps you are not looking in that folder? Not sure this is a big issue but wanted to understand it.
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedwhats the filename?
Comment #2
entrepreneur27 CreditAttribution: entrepreneur27 commentedIts:
http://www.mysite.com/sites/mysite.com/files/googleanalytics/ga.js
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedhmmm... most likely related to these other issues
#940554: CSS files with multiple periods (.) in the filename
#859966: Not compatible with Javascript aggregator (minify)
Need to get some time to dive in clean up code.
Comment #4
thiruvelan CreditAttribution: thiruvelan commentedI cached a copy of the google analytic.js file locally and the file is
http://healthy-ojas.com/sites/default/files/googleanalytics/ga.js?O
As per google analytic module,
A dummy query-string is added to filenames, to gain control over
// browser-caching. The string changes on every update or full cache
// flush, forcing browsers to load a new copy of the files, as the
// URL changed.
I think this stop the gzip by boost module, hope it is easily fixable by boost maintainer or any other experienced (on .htaccess) person.
Comment #5
IckZ CreditAttribution: IckZ commentedAny updates for this issue? Got the same behavior if analytics.js is cached locally by the setting in the google analytics module.
edit: oh sry. I'm in the wrong issue queue: https://www.drupal.org/node/1007022
Comment #6
C-LogemannVery old issue about D6 version. Will close as outdated.