Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Gzip compression: working or not?

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

I have copied the gzip compression code to my .htaccess file from the file recommended in the jb documentation (docs.joomlabamboo.com/zen-grid-framework-4/advanced/htaccess).

When I check the site using PageSpeed or Yslow it gives me the following:
Enable compression for the following resources to reduce their transfer size by 351.4KiB (74% reduction).
Compressing http://10.0.0.27/.../theme.ocean.php could save 130.7KiB (82% reduction).
Compressing http://ajax.googleapis.com/.../jquery.min.js could save 61.1KiB (65% reduction).
Compressing http://10.0.0.27/.../zentools.min.css could save 48.0KiB (84% reduction).
Compressing http://10.0.0.27/starter/media/jui/js/bootstrap.min.js could save 21.0KiB (73% reduction).
Compressing http://10.0.0.27/.../magnific.js could save 20.2KiB (69% reduction).
Compressing http://10.0.0.27/starter/large-herbivores could save 18.2KiB (72% reduction).
Compressing http://10.0.0.27/.../slidebars.js could save 9.8KiB (71% reduction).
Compressing http://10.0.0.27/.../meanmenu.js could save 8.9KiB (70% reduction).
Compressing http://10.0.0.27/.../wow.min.js could save 4.6KiB (65% reduction).
Compressing http://10.0.0.27/.../wow.min.js could save 4.5KiB (65% reduction).
Compressing http://10.0.0.27/starter/media/jui/js/jquery-migrate.min.js could save 4.0KiB (57% reduction).
Compressing http://10.0.0.27/.../zen.accordion.js could save 3.5KiB (75% reduction).
Compressing http://10.0.0.27/.../modernizr.touch.js could save 3.3KiB (54% reduction).
Compressing http://10.0.0.27/.../jquery.resmenu.min.js could save 3.2KiB (71% reduction).
Compressing http://10.0.0.27/.../lightbox.js could save 2.2KiB (61% reduction).
Compressing http://10.0.0.27/.../lazyload.js could save 2.0KiB (61% reduction).
Compressing http://10.0.0.27/.../jquery.matchHeight-min.js could save 1.8KiB (59% reduction).
Compressing http://10.0.0.27/starter/templates/rasa2/js/scripts.js could save 1.6KiB (63% reduction).
Compressing http://10.0.0.27/.../jquery.matchHeight-min.js could save 1.5KiB (61% reduction).
Compressing http://10.0.0.27/.../smoothscroll.js could save 1.4KiB (55% reduction).


However, if I check it using varvy.com/tools/gzip/, I get:
Gzip working? Yes reducing file size by 71.9% 
Page size: 25,805 - Compressed size: 7,245 - Saving: 18,560 bytes

How do I know whether it is working or not?

By the way, the url is www.imago-portal.net/starter/large-herbivores

Any help would be most appreciated!

Thanks!
  • brucebutton's Avatar
  • brucebutton
  • 12 Month basic
  • 59 posts
  • Karma: 0
Last Edit: 8 years 7 months ago by brucebutton.
The administrator has disabled public write access.
Have you tried merging the js to one file and then hitting the compress button?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I have now done that in the template manager and there is some improvement, but I'm still getting this:
Enable compression for the following resources to reduce their transfer size by 338.2KiB (75% reduction).
Compressing http://10.0.0.27/.../theme.ocean.php could save 130.7KiB (82% reduction).
Compressing http://10.0.0.27/starter/media/jui/js/jquery.min.js could save 61.1KiB (65% reduction).
Compressing http://10.0.0.27/.../zentools.min.css could save 48.0KiB (84% reduction).
Compressing http://10.0.0.27/starter/templates/rasa2/js/template-9.php could save 27.2KiB (68% reduction).
Compressing http://10.0.0.27/starter/media/jui/js/bootstrap.min.js could save 21.0KiB (73% reduction).
Compressing http://10.0.0.27/.../magnific.js could save 20.2KiB (69% reduction).
Compressing http://10.0.0.27/starter/large-herbivores could save 17.3KiB (72% reduction).
Compressing http://10.0.0.27/.../wow.min.js could save 4.6KiB (65% reduction).
Compressing http://10.0.0.27/starter/media/jui/js/jquery-migrate.min.js could save 4.0KiB (57% reduction).
Compressing http://10.0.0.27/.../lightbox.js could save 2.2KiB (61% reduction).
Compressing http://10.0.0.27/.../jquery.matchHeight-min.js could save 1.8KiB (59% reduction).
  • brucebutton's Avatar
  • brucebutton
  • 12 Month basic
  • 59 posts
  • Karma: 0
Last Edit: 8 years 7 months ago by brucebutton.
The administrator has disabled public write access.
It is listed as enabled when I view on different testing sites

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks for your time, Paul. It seems like some further actions are needed to make sure that all the necessary files are compressed. I'm finding JCH Optimize helpful for that.

Best regards
Bruce
  • brucebutton's Avatar
  • brucebutton
  • 12 Month basic
  • 59 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Bruce,

Thanks for update

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Just in case :)

I think from memory sometimes you need to exclude some files in JCH for zentools to work in certain situations

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks for the tip, Paul.

Yes, I have already discovered the need to exclude a Javascript file to allow Zentools to work. But it's easy enough to do so. JCH has some helpful info on their website.
  • brucebutton's Avatar
  • brucebutton
  • 12 Month basic
  • 59 posts
  • Karma: 0
The administrator has disabled public write access.
Thanks for the post back :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers