Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2014-02-10 16:02:04

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
Website GitHub Mastodon

Re: PageSpeed, caching, Cloudflare and other site speedup methods

zopfli isn’t an image optimiser exactly. I think The Blue Dragon was referring to these kinds of image optimisation tools.

Offline

#32 2014-02-10 16:03:36

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,737
GitHub

Re: PageSpeed, caching, Cloudflare and other site speedup methods

Mea culpa, I was confusing it with zopflipng – which is png and not jpg. Thanks for the clarification, Phil.

Last edited by gaekwad (2014-02-10 16:03:46)

Online

#33 2014-02-10 19:41:52

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: PageSpeed, caching, Cloudflare and other site speedup methods

I am able to use mod_deflate, and currently using it for Javascript files, does it also good for images?

Offline

#34 2014-02-10 21:26:42

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
Website GitHub Mastodon

Re: PageSpeed, caching, Cloudflare and other site speedup methods

I doubt gzip (deflate) will make much difference to JPEG or PNG files since they are already compressed file formats. It might chew up some more server resources trying to as well.

Things like ImageOptim reduce image files by stripping out redundant code (metadata, unused colour depth, etc).

Offline

#35 2014-02-10 23:29:29

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,737
GitHub

Re: PageSpeed, caching, Cloudflare and other site speedup methods

I’ve been thinking about this thread tonight – if the images are large and not web-optimised, would some server-side processing with ImageMagick or gd work?

The Blue Dragon: can you point us to a site?

Online

#36 2014-02-11 08:32:18

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: PageSpeed, caching, Cloudflare and other site speedup methods

philwareham wrote #278785:

Things like ImageOptim reduce image files by stripping out redundant code (metadata, unused colour depth, etc).

yep that’s what I’m looking for, just to remove all the info and stuff, to get a higher score lol.

gaekwad wrote #278795:

The Blue Dragon: can you point us to a site?

Hi Pete, my name is Gil :)
and speak don’t I side server lol
I have no idea, for the site graphics I use tinypng.org , but for user content images I got nothing so far, and that’s why I came to ask you guys.
All I got are the three links for some info that I shared in my first post here in the previous page.
I wish I could use the pagespeed module as it is the best of course converting your images into WebP and all that stuff.
But even a simple module that will remove all the unnecessary info and stuff will do the job.

Offline

#37 2014-02-11 08:52:34

springworks
Member
Registered: 2005-01-06
Posts: 172
Website

Re: PageSpeed, caching, Cloudflare and other site speedup methods

gaekwad wrote #278795:

I’ve been thinking about this thread tonight – if the images are large and not web-optimised, would some server-side processing with ImageMagick or gd work?

Wondering aloud – would it be possible to put together an admin-side plugin, or other server-based script, that periodically scanned through the images folder and optimised them, keeping a record of the ones it had already processed?

Even if, as designers and developers, we rigorously optimise images for a site using build tools, ImageOptim, etc., once the site is handed over to the client and they are uploading new content, all bets are off.

It seems unrealistic to expect clients to run images through optimisers before uploading (although we should, of course, be educating them to resize down to appropriate dimensions first). Therefore, any automated process that either optimised on upload, or, as described above, periodically checked and optimised new images, would be a great addition to keeping images for a site lean and optimised.

Offline

#38 2014-02-11 09:09:43

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: PageSpeed, caching, Cloudflare and other site speedup methods

Here’s what I got from Hostgator customer service:

We have previously considered mod_pagespeed however as this module is not officially supported by cPanel, we have hesitated on developing the offering further.
We are also currently working on introducing a different option to help accomplish similar goals through the use of Nginx and Varnish. Although the roll out of these technologies is still being tested, we are quite hopeful that they will show significant decrease in site load times.

Only that I don’t see that Nginx or Varnish will do the job for images, so…yep :/

Offline

#39 2014-02-11 09:50:28

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
Website GitHub Mastodon

Re: PageSpeed, caching, Cloudflare and other site speedup methods

All I can think of is installing jpegtran, optipng, pngout and gifsicle (and possibly any other ones you want) onto your hosting via shell access. Then setting up a cron job to run them once a week or something.

Offline

#40 2014-02-11 10:27:51

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,737
GitHub

Re: PageSpeed, caching, Cloudflare and other site speedup methods

THE BLUE DRAGON wrote #278804:

Hi Pete, my name is Gil :)

I am sorry, Gil – I was on mobile and still haven’t quite accepted the ‘real name’ field no longer being here. No disrespect intended.

I guess the real reason for my question was to find out what type of images you’re referring to. By this, I mean are you using large photos, sprites or something between the two. If it’s photos and your clients are uploading original, multi-megapixel images straight from a camera, then they will be huge. If this is the case, perhaps some tie-in to a friendly Flickr-style photo service where they can upload the huge image and then Flickr takes care of the resizing. Compression in jpg files is lossy, by definition. Hostgator shared plans do include gd2 (see support.hostgator.com/articles/pre-sales-questions/compatible-technologies for info), so you may be able to use that to batch process your image files.

Online

Board footer

Powered by FluxBB