<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; gzip</title> <atom:link href="http://www.ghacks.net/tag/gzip/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Fri, 10 Feb 2012 13:29:21 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Q7z: Front end for Linux 7-Zip</title><link>http://www.ghacks.net/2010/03/22/q7z-front-end-for-linux-7-zip/</link> <comments>http://www.ghacks.net/2010/03/22/q7z-front-end-for-linux-7-zip/#comments</comments> <pubDate>Sun, 21 Mar 2010 22:59:13 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[archives]]></category> <category><![CDATA[bzip]]></category> <category><![CDATA[compression]]></category> <category><![CDATA[file compression]]></category> <category><![CDATA[gzip]]></category> <category><![CDATA[XZ]]></category> <category><![CDATA[zip]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=23875</guid> <description><![CDATA[Compression is compression is compression. Right? Wrong. There are some compression utilities that eek out every drop of space possible. On the Linux operating system the standard is gzip or bunzip2. But if you&#8217;re looking for one of the highest compression ratios to be found you might want to turn your sites to 7-Zip.  7-Zip [...]]]></description> <content:encoded><![CDATA[<p>Compression is compression is compression. Right? Wrong. There are some compression utilities that eek out every drop of space possible. On the Linux operating system the standard is gzip or bunzip2. But if you&#8217;re looking for one of the highest compression ratios to be found you might want to turn your sites to 7-<a
title="7-Zip" href="http://www.7-zip.org/" target="_blank">Zip</a>.  7-Zip is a free (even for commercial usage) compression/archiving utility that has its own compression algorithm (LZMA &#8211; Lemple-Ziv-Markov chain algorithm).</p><p>Although 7-Zip is available for both Windows and Linux, only the Windows port has a GUI front end. This means, by default, using 7-Zip in Linux requires the use of commands. Normally this is fine, but the 7-Zip commands can be fairly confusing (even to the experienced user). Fortunately 7-Zip does integrate well with the GNOME and KDE desktops. And it has a front end available. This front end is Q7z and was not created nor is maintained by the makers of 7-Zip.</p><p>In this article I will show you how to install and use the Q7Z front end for 7-zip on Linux.</p><p><span
id="more-23875"></span><strong>Installation</strong></p><p>Although you will find various packages on the <a
title="Q7Z" href="http://code.google.com/p/k7z/downloads/list" target="_blank">Q7Z download page</a>, you should avoid the pre-packaged binaries. Instead you will want to download the <a
title="Q7Z Autopackage File" href="http://k7z.googlecode.com/files/q7z-0.8.0-1.package" target="_blank">Autopackage File</a>, which should work on just about any Linux distribution. Once you have downloaded that file you will need to open up a terminal and follow these steps;</p><ol><li>Change to the directory holding the Autopackage File.</li><li>Give the file executable permissions with the command <em>chmod u+x q7z-XXX-package </em>Where XXX is the release number.</li><li>Issue the command <em>sudo ./q7z-XXX-package</em> Where XXX is the release number.</li></ol><p>The installer will begin and walk you through the process. The only interaction necessary is for you to enter your sudo password twice. The Autopackage installer will automatically download all of the dependencies for you and run the full install process. When the installer closes you can then run Q7Z with the command <em>Q7Z.pyw</em>.</p><p><strong>Usage</strong></p><div
id="attachment_23881" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/03/q7z.png"><img
class="size-medium wp-image-23881 " src="http://www.ghacks.net/wp-content/uploads/2010/03/q7z-500x427.png" alt="" width="300" height="256" /></a><p
class="wp-caption-text">Figure 1</p></div><p>When you fire up the Q7Z tool, the main window should be fairly obvious to figure out. But just in case, let&#8217;s take a look at the process of compressing a folder.</p><p><strong>Step 1</strong>: Click on the Locations tab.</p><p><strong>Step 2</strong>: Click on the &#8220;Dir&#8221; button.</p><p><strong>Step 3</strong>: Navigate to the folder you want to compress and click Open.</p><p><strong>Step 4</strong>: If you want the compressed archive to be saved in a different location click the check box for &#8220;Destination&#8221; and then supply an alternate destination for your archive.</p><p><strong>Step 5</strong>: Go back to the Specifications tab and specify the type of compression you want and any other options you might want to use. From this tab you can also create a self extracting archive (.exe file) as well as password protect your compressed files.</p><p><strong>Step 6</strong>: Click the Create button.</p><p>Depending upon the size of the archive, the process could take some time.</p><p><strong>Extracting</strong></p><p>You can also extract archives with this same tool. The process is very similar to the creation of archive, only you work in reverse and you are using the Extract tab. The extraction process can extract the same file types that are supported with the compression (zip, 7z, bunzip2, tar, gzip, XZ).</p><p><strong>Final thoughts</strong></p><p>If you aren&#8217;t happy with your compression tool, you might want to give Q7Z and 7-zip a go. It offers solid compression, password protection, varied compression levels. and much more &#8211; all in an easy to use GUI interface. And if you&#8217;re not terribly happy with G7Z, 7-zip does integrate with Nautilus, so you can use that instead.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/03/22/q7z-front-end-for-linux-7-zip/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>Get to know Linux: File compression</title><link>http://www.ghacks.net/2010/01/22/get-to-know-linux-file-compression/</link> <comments>http://www.ghacks.net/2010/01/22/get-to-know-linux-file-compression/#comments</comments> <pubDate>Fri, 22 Jan 2010 18:22:57 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[archives]]></category> <category><![CDATA[bunzip]]></category> <category><![CDATA[bzip2]]></category> <category><![CDATA[dolphin]]></category> <category><![CDATA[file compression]]></category> <category><![CDATA[gzip]]></category> <category><![CDATA[linux compression]]></category> <category><![CDATA[nautilus]]></category> <category><![CDATA[tar]]></category> <category><![CDATA[zip]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=22512</guid> <description><![CDATA[How many times have you come across a .tar, .tgz, or .bz2 file in Linux and had no idea what to do with it? Or what it was? Most users of computers know what the .zip file is. Simple, it&#8217;s a compressed file. And to uncompress you generally double click it or right click and [...]]]></description> <content:encoded><![CDATA[<p>How many times have you come across a .tar, .tgz, or .bz2 file in Linux and had no idea what to do with it? Or what it was? Most users of computers know what the .zip file is. Simple, it&#8217;s a compressed file. And to uncompress you generally double click it or right click and select Extract. Most people recognize that from the world of Windows. But did you know that file compression/decompression is just as easy in the world of Linux? It is. The only problem is that most don&#8217;t recognize what files are, in fact, compressed files, archives, or compressed archives.</p><p>In this article I am going to de-mystify Linux file compression and archiving for you. By the end of the article you&#8217;ll be compressing and decompressing files in your sleep. And, as a bonus, you&#8217;ll know how to do this both via command line and GUI.</p><p><span
id="more-22512"></span><strong>Compression versus archiving</strong></p><p>The difference between compression and archiving is simple: Compression makes a file (or directory) smaller and Archiving takes many seperate files (such as a directory containing sub-directories and/or files) and turns it into a single file. You can have a compressed archive (such as .tar.gz or .tgz) and you can even have an archive of compressed files (such as a directory that contains a bunch of compressed files). But how do you know what are compressed files verses archived files? Here&#8217;s a list of file extensions and what they are.</p><p>.tar &#8211; This is an uncompressed Tar archive file. This type of archive is unpacked with the command <em>tar xvf file.tar</em>.</p><p>.tgz &#8211; This is a compressed Tar archive file. This type of archive is decompressed and unpacked with the command <em>tar xvzf file.tgz</em>.</p><p>.gz &#8211; This is a file compressed with the gzip program. This type of file is decompressed with the command <em>gunzip file.gz</em>.</p><p>.zip &#8211; This is a compressed file. This type of file is decompressed with the command <em>unzip file.zip</em></p><p>.bz2 &#8211; This is a compressed file. This type of file is decompressed with the command <em>bunzip2 file.bz2.</em></p><p><strong>Which compression to use?</strong></p><p>Of the three compression utilities (bzip2, zip, and gzip) the tool that will result in the most compression (the smallest file) is bzip2. The only disadvantage to bzip2 is that the algorithm uses more processor to complete than does the other utilities.</p><p>If you are sharing your compressed files with Windows users your best bet is to use zip for compression. Although there are tools (such as <a
title="Stuffit Delux" href="http://www.stuffit.com/win-deluxe.html" target="_blank">Stuffit Deluxe for Windows</a>) that can handle bz2 files, the default supported is .zip.</p><p><strong>Using the GUI</strong></p><p>If you are a fan of the GUI (and who isn&#8217;t these days?) you will be glad to know that most all Linux file managers can handle compressed and archived files. In both Nautilus (GNOME) and Dolphin (KDE) you can simply right click a compressed, archived, or compressed archive file and select Extract. Both file managers also offer compression and archiving options when you right click a file or directory.</p><p><strong>Final thoughts</strong></p><p>Working with compression and archiving is very simple with the Linux operating system. You have plenty of options in both the command line and the GUI worlds.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/01/22/get-to-know-linux-file-compression/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Optimize WordPress loading times</title><link>http://www.ghacks.net/2007/03/19/optimize-wordpress-loading-times/</link> <comments>http://www.ghacks.net/2007/03/19/optimize-wordpress-loading-times/#comments</comments> <pubDate>Mon, 19 Mar 2007 06:28:04 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[ghacks]]></category> <category><![CDATA[Knowledge]]></category> <category><![CDATA[The Web]]></category> <category><![CDATA[blog]]></category> <category><![CDATA[css-compress]]></category> <category><![CDATA[gzip]]></category> <category><![CDATA[optimize]]></category> <category><![CDATA[wordpress]]></category> <category><![CDATA[wordpress-compress]]></category> <category><![CDATA[wordpress-gzip]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2007/03/19/optimize-wordpress-loading-times/</guid> <description><![CDATA[I'm using Wordpress as the blogging software of choice for Ghacks and all of my other blogs. After reading Paul Stamatious article on optimizing CSS for Wordpress I decided to give it a try and see if page loading times would benefit at all from it. I also had to check if the optimization would change the way my blog would be displayed or would throw up errors. I began by analyzing the page loading times of my blog without any optimization. The result for the frontpage was that my blog used 166K and that users with ISDN (128 Kbit) would have to wait 18.55 seconds before my site was fully loaded.]]></description> <content:encoded><![CDATA[<p>I&#8217;m using WordPress as the blogging software of choice for Ghacks and all of my other blogs. After reading <a
href="http://paulstamatiou.com/how-to-optimize-your-css-even-more" target="_Blank">Paul Stamatious</a> article on optimizing CSS for WordPress I decided to give it a try and see if page loading times would benefit at all from it. I also had to check if the optimization would change the way my blog would be displayed or would throw up errors. I began by analyzing the page loading times of my blog without any optimization. The result for the frontpage was that my blog used 166K and that users with ISDN (128 Kbit) would have to wait 18.55 seconds before my site was fully loaded.</p><p>Users with T1 connections, that is 1.44 Mbps would have to wait 9.28 seconds. The figures are of course only valid if they do not use part of their download speed for other transfers at the same time. The first thing that I decided to do was to enable gzip compression in the WordPress options in the reading tab. Before I enabled it I did a quick check that my server was actually able to gzip by using the simple phpinfo() command.</p><p><span
id="more-1319"></span>I tested the result and the page size went down almost 35%! It went down 58K to 108K total. The time users with ISDN had to wait before the full page is loaded was reduced by almost 4 seconds from 18.55 seconds to 14.80 seconds. The loading time for T1 users was reduced by 0.51 seconds to 8.77 seconds in total.</p><p>I still did not apply the optimization that Paul suggested and that is what I intended to do next. His suggestion was to gzip compress the css file as well to reduce loading time even further. I found a reference to a nice WordPress plugin in the comments of his post. The plugin is called <a
href="http://plugins.trac.wordpress.org/wiki/css-compress" target="_blank">css-compress</a>. It just has to be activated in the plugin tab in WordPress. The advantage of using css-compress over Paul&#8217;s method is that css compress compresses all css files even those of third parties such as those from advertisers or other plugins.</p><p>Another check reported that the total size of my blogs frontpage was again reduced by almost 10k from 108K to 98K. Loading time was again reduced by 1.17 seconds for ISDN users and 0.65 seconds for users with a T1 connection.</p><p>I was not able to witness any negative effects on my blogs design, the functions or server load. Sure it uses a little bit processing power but this should only be a problem for weak shared hosts.</p><p>You can check the loading speed of  websites using the nice script available at <a
href="http://analyze.websiteoptimization.com/authenticate.php?url=http://www.ghacks.net&amp;" target="_blank">website optimization</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2007/03/19/optimize-wordpress-loading-times/feed/</wfw:commentRss> <slash:comments>46</slash:comments> </item> </channel> </rss>
