Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Nov 2006
    Posts
    11

    Default Site Optimization (compression)

    Hello. I am using cPanel 11 and have enabled compression for all content. It works fine most of the time. However, from time to time when i click on an internal link (in firefox) i get presented with a download dialog box instead of being taken to the link location. Saving the file results in a file with a .part extension. The problem is not specific to any particular link as far as i can tell, and certainly doesn't happen every time for any given link. Can anyone explain why this is happening?

    Thanks for your time,
    -Scott

  2. #2
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,032

    Default mod_deflate

    The "Optimize Website" icon is available in cPanel if mod_deflate is built into Apache. mod_deflate is an option in EasyApache. The documentation for mod_deflate is available here:

    mod_deflate - Apache HTTP Server

    In short, mod_deflate compresses site content before sending it to the browser. What is most likely happening, based on the ".part" extension you mentioned, is something is occasionally interrupting the transfer, and the browser does not get the entire compressed copy of the requested page. Because of this, it cannot extract it correctly, and you end up with a file with a .part extension.

    This is a potential problem with using mod_deflate. While it does make the site use less bandwidth, since less data are transferred over the network, it does increase the overhead on both the server and the client, and it introduces the possibility of a network interruption or other error being noticed more readily.
    Last edited by cPanelJared; 09-08-2010 at 02:38 PM. Reason: Correcting Apache documentation link
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  3. #3
    Member
    Join Date
    May 2010
    Posts
    321

    Default

    I had this issue once, Maily due to mod_security and max_execution times, See if you click a link which submits a query then it has a time to load period, If this does not load quick enough then it presents you with a "save as" Try increasing the max excution time slightly to avoid this.

  4. #4
    Member
    Join Date
    Nov 2006
    Posts
    11

    Default

    I recently noticed that it is not always a .part file, sometimes it offers up the actual PHP file. However, it does not actually deliver the real php file if you choose to hit download. I've increased the PHP max execution time and i haven't had the problem since. Thanks for all your help!!

  5. #5
    Member
    Join Date
    Nov 2006
    Posts
    11

    Default

    Scratch that, the problem persists. I changed the max execution time from 90 to 600.

Similar Threads & Tags
Similar threads

  1. How to active Gzip compression for all my websites ?
    By crazykeal in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-19-2011, 05:32 PM
  2. Compression?
    By virtualreality in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-22-2010, 11:09 AM
  3. bzip compression and phpMyAdmin
    By dwinans in forum Database Discussions
    Replies: 1
    Last Post: 08-03-2009, 04:57 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube