File Download Issues
-
I am having an issue with file downloads sent by PHP fopen or cURL when LiteSpeed Cache is enabled.
The mime type and content type seem to be getting mixed up or lost, and the size of downloaded files is increasing by up to 50%. This is causing a variety of behaviors such as browsers adding an HTML extension to the actual file extension (filename.pdf.html, filename.jpeg.html, etc.), opening a “Save as” dialog instead of the intended forced download, or opening blank browser tabs when the download link is clicked.
If LiteSpeed Cache is disabled, the forced downloads work properly on all devices and browsers. I’m wondering if anyone has any thoughts as to what could be causing this.
Thanks for your help.
- The topic ‘File Download Issues’ is closed to new replies.