Results 1 to 17 of 17

Thread: Compression

  1. #1
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default Compression

    I do not really know a lot about compression, but when I run my site through seo checkers this is one thing that always comes up as I need to improve. I do not know a lot about compression and just quickly what I have read about it seems it may be a little bit of a task to do.

    Is compression really something worth doing? Is it worth taking the time to learn and implement or is it not that big of a deal?

    Thanks
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play at USA online casinos and find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

  2. #2
    DaftDog's Avatar
    DaftDog is offline Private Member
    Join Date
    October 2008
    Location
    South Africa
    Posts
    2,105
    Thanks
    666
    Thanked 755 Times in 451 Posts

    Default

    If you're using cPanel you can activate the mod_deflate option. It's as simple as that.

  3. #3
    thebookiesoffers is offline Former Member
    Join Date
    November 2009
    Location
    Leicester, UK
    Posts
    3,225
    Thanks
    414
    Thanked 1,764 Times in 1,009 Posts

    Default

    never heard of it

  4. #4
    DaftDog's Avatar
    DaftDog is offline Private Member
    Join Date
    October 2008
    Location
    South Africa
    Posts
    2,105
    Thanks
    666
    Thanked 755 Times in 451 Posts

  5. #5
    Sergej_AGR is offline Private Member
    Join Date
    March 2012
    Location
    Ruhrpott - Germany
    Posts
    217
    Thanks
    51
    Thanked 85 Times in 60 Posts

    Default

    You can easily do deflate or gzip compression on apache servers via htaccess with the following mods.

    for example deflate by filetype

    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE text/javascript
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/atom_xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE application/x-shockwave-flash
    </IfModule>

    or gzip compression

    <IfModule mod_gzip.c>
    mod_gzip_on Yes
    mod_gzip_dechunk Yes
    mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
    mod_gzip_item_include handler ^cgi-script$
    mod_gzip_item_include mime ^text/.*
    mod_gzip_item_include mime ^application/x-javascript.*
    mod_gzip_item_exclude mime ^image/.*
    mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
    </IfModule>

    If you need other extensions or filetypes you can also add them this way

  6. #6
    baldidiot is offline Private Member
    Join Date
    January 2010
    Posts
    5,059
    Thanks
    431
    Thanked 2,317 Times in 1,543 Posts

    Default

    You're probably not, but if you're using joomla just select the 'Gzip Page Compression' in Control Panel > Server
    onlinegamblingwebsites.com - Formally known as goodbonusguide.

    Gambling Domains: Small clear out of some of the domains we've been hoarding on Dan - see the list here. Prices negotiable, and willing to swap for decent links.

  7. #7
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default

    And exactly what does this do? Save resources? Just curious what the benefits of this are?
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play at USA online casinos and find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

  8. #8
    universal4's Avatar
    universal4 is offline Forum Administrator
    Join Date
    July 2003
    Location
    Courage is being scared to death...and saddling up anyway. John Wayne
    Posts
    32,759
    Thanks
    4,049
    Thanked 8,861 Times in 5,665 Posts

    Default

    It adds overhead to the server to do the compression and uncompression in an effort to make downloading the code faster.

    I have always been of the impression that if you need to compress something because it is too big to download, or you want to make it smaller to download faster then you should....

    ....make it smaller and it will download faster....

    If you are using those 100k 120k or larger images from the programs, chop some frames out or ask them to reduce their weight or pick other creatives.

    If your pages suffer code bloat, see what you can do to reduce it such as more css.

    If your site still seems slow and you are using wordpress, see how much faster it is if you disable plugins and if a plugin is causing the slow downs, find another one that does the same thing faster or see if there is a way to do what is needed without a plugin.

    Rick
    Universal4

  9. #9
    Nick.RevenueJet's Avatar
    Nick.RevenueJet is offline Non-sponsor Affiliate Program
    Join Date
    February 2012
    Posts
    374
    Thanks
    143
    Thanked 214 Times in 125 Posts

    Default

    From what I know, compression means cutting all the useless spaces in a code. The only affiliate site that I know is using compression is this one.
    Because googlebot and browsers don't need spaces to properly read html, it makes sense to cut down those spaces, as obviously the page will load faster if it weighs less.

  10. #10
    slotplayer is offline Private Member
    Join Date
    September 2006
    Posts
    1,044
    Thanks
    198
    Thanked 322 Times in 252 Posts

    Default

    And exactly what does this do? Save resources? Just curious what the benefits of this are?
    the less trips to server(s) to render the page the faster it will load, especially on mobile devices.
    if the page loads faster it will reduce bounce rate, less bounce rate can result in better conversions/sales.

    Run your pages through Google Page Speed to see any bottlenecks.

  11. #11
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default

    Ok - thanks everyone. I guess I will go ahead and do this since it is so easy to do. The faster the better!
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play at USA online casinos and find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

  12. #12
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default

    Hey I did this for my images file/folder and wow, I think I can really tell a difference just for that. I have many large images that I new took up a lot of resources and slowed things down but I hated to sacrifice the quality of the images.

    Does it make sense by just compressing all of my images that you could see a diffrence in speed or is it just my imagination?
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play at USA online casinos and find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

  13. #13
    DaftDog's Avatar
    DaftDog is offline Private Member
    Join Date
    October 2008
    Location
    South Africa
    Posts
    2,105
    Thanks
    666
    Thanked 755 Times in 451 Posts

    Default

    Images files like JPEG's and GIF's are already compressed and cannot be further compressed.

  14. #14
    rak's Avatar
    rak
    rak is offline Former AM
    Join Date
    January 2011
    Location
    Philippines
    Posts
    1,123
    Thanks
    250
    Thanked 334 Times in 258 Posts

    Default

    Quote Originally Posted by Ixian View Post
    Images files like JPEG's and GIF's are already compressed and cannot be further compressed.

    jpegs can be further compressed. By further compressing them, the quality degrades.

    gifs from memory have different compression methods for you to choose from.

  15. #15
    DaftDog's Avatar
    DaftDog is offline Private Member
    Join Date
    October 2008
    Location
    South Africa
    Posts
    2,105
    Thanks
    666
    Thanked 755 Times in 451 Posts

    Default

    Quote Originally Posted by rak View Post
    jpegs can be further compressed. By further compressing them, the quality degrades.

    gifs from memory have different compression methods for you to choose from.
    I stand corrected.

    I was always under the impression that once an image file was created it couldn't be further compressed in a compression file. Maybe I misunderstood that further compression would result in image degradation and should be avoided if you want to maintain image quality.

  16. #16
    slotplayer is offline Private Member
    Join Date
    September 2006
    Posts
    1,044
    Thanks
    198
    Thanked 322 Times in 252 Posts

    Default

    Name:  batman-slot.jpg
Views: 209
Size:  27.0 KB
    28K in size before compression


    Name:  batman-slot2.jpg
Views: 201
Size:  9.7 KB
    10K in size with 15% compression

  17. #17
    Sergej_AGR is offline Private Member
    Join Date
    March 2012
    Location
    Ruhrpott - Germany
    Posts
    217
    Thanks
    51
    Thanked 85 Times in 60 Posts

    Default

    "Light Image Resizer" is a great tool to compress or change images. You can set up quality in %, height, width, scale them if you change the format, output them in a different filetype and use it for bulk actions.

    And it is free: http://www.obviousidea.com/windows-s...image-resizer/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •