You are here

INSTALL.txt in Stage File Proxy 6

Same filename and directory in other branches
  1. 7 INSTALL.txt
To use Stage File Proxy, you must add variables to $conf in settings.php:

REQUIRED:
$conf['stage_file_proxy_origin'] = 'http://example.com'; // no trailing slash

OPTIONAL:

$conf['stage_file_proxy_use_imagecache_root'] = TRUE;

Default is TRUE.

If this is true (default) then Stage File Proxy will look for /imagecache/ in
the URL and determine the original file and request that rather than the
processed file, then send a header to the browser to refresh the image and let
imagecache handle it. This will speed up future imagecache requests for the
same original file.

$conf['stage_file_proxy_hotlink'] = FALSE;

Default is FALSE.

If this is true then Stage File Proxy will not transfer the remote file to the
local machine, it will just serve a 301 to the remote file and let the origin
webserver handle it.

File

INSTALL.txt
View source
  1. To use Stage File Proxy, you must add variables to $conf in settings.php:
  2. REQUIRED:
  3. $conf['stage_file_proxy_origin'] = 'http://example.com'; // no trailing slash
  4. OPTIONAL:
  5. $conf['stage_file_proxy_use_imagecache_root'] = TRUE;
  6. Default is TRUE.
  7. If this is true (default) then Stage File Proxy will look for /imagecache/ in
  8. the URL and determine the original file and request that rather than the
  9. processed file, then send a header to the browser to refresh the image and let
  10. imagecache handle it. This will speed up future imagecache requests for the
  11. same original file.
  12. $conf['stage_file_proxy_hotlink'] = FALSE;
  13. Default is FALSE.
  14. If this is true then Stage File Proxy will not transfer the remote file to the
  15. local machine, it will just serve a 301 to the remote file and let the origin
  16. webserver handle it.