Ignore:
Timestamp:
03/28/12 15:41:13 (12 years ago)
Author:
adeildosantos
Message:

Ticket #2573 - Resolvido problema de lentidão ao fazer redirect de arquivos no processo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/workflow/inc/class.ResourcesRedirector.inc.php

    r3167 r5843  
    144144                        /* arquivo não está em cache ou o cache já expirou */ 
    145145                        header('Last-Modified: ' . gmdate('D, d M Y H:i:s', filemtime($filename)).' GMT', true, 200); 
    146                         header('Content-Length: ' . filesize($filename)); 
     146                        // TODO: The line below causes slowness when downloading files in certain Apache configurations 
     147                        //header('Content-Length: ' . filesize($filename)); 
    147148                        header('Content-Type: ' . $mimeType); 
    148149                        header('Content-Disposition: filename="' . basename($filename) . '"'); 
Note: See TracChangeset for help on using the changeset viewer.