Jack.Straw

Member
Nov 30, 2006
11
0
151
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
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
Houston, TX
cPanel Access Level
Root Administrator
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:

GaryT

Well-Known Member
May 19, 2010
320
3
68
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.
 

Jack.Straw

Member
Nov 30, 2006
11
0
151
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!!