2012/10/2 Ron Johnson <ron.l.johnson@cox.net>
Since JPG files and other media formats can't be compressed well by gzip,
why not just compress the internal .gramps xml file then tar that compressed
file with the already-compressed images?  Seems like that would be more
efficient: compress what can be compressed, but don't compress what can't.

Perhaps more efficient, but more complex code. The code now just uses python routines, in your suggestion we would need to use mime-types or extensions to decide what to compress.
I don't think the overhead is such that this is a real problem.


If adults of legally sound mind must be told what foods they
are not allowed to buy, then those people are not competent
to choose (i.e. vote for) their own leaders.

Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
Gramps-users mailing list