Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Stage File Proxy

19,860 sites Security covered
View on drupal.org

This module helps developers by automatically copying files from a live production site to a local development environment when they are accessed. This saves disk space and development time by avoiding manual file transfers. It is not intended for use on production sites.

Stage File Proxy is a general solution for getting production files on a development server on demand. It saves you time and disk space by sending requests to your development environment's files directory to the production environment and making a copy of the production file in your development site. You should not need to enable this module in production.

More details on the features/benefits

When developing Drupal sites locally, you often face a choice between broken images and taking the time to copy a snapshot of the remote files directory, which might be several gigabytes large, depending on the site. Stage File Proxy lets you update the database of your local development instance without having to update your files directory. Stage File Proxy transfers each requested file just in time when it is requested. This is especially useful for large sites with huge numbers of files. If you only visit 2 pages and only need 10 remote files to serve those pages, Stage File Proxy will only transfer those 10 files. Stage File Proxy has an additional mode in which it can serve a 301 redirect to files on the server, so it's possible to see all your images without having a local files directory at all.

Simple install and configuration for Drupal 7

If you have drush installed already then installing and configuring this module can be as easy as:

drush pm-download stage_file_proxy
drush pm-enable --yes stage_file_proxy
drush variable-set stage_file_proxy_origin "https://www.example.com"

Simple install and configuration for Drupal 8

It is recommended to use Composer to install the module and you can use Drush to configure it:

composer require drupal/stage_file_proxy
drush en stage_file_proxy
drush config-set stage_file_proxy.settings origin "https://www.example.com"

Of course, replace example.com with your live site.

Warning: If you use Drupal Core 8.7.6 or below then the latest releases of Stage File Proxy will break your site. You should pin your site to use Stage File Proxy version 8.x-1.0-beta1 or upgrade core.

Imagecache/Image Style support

Stage File Proxy integrates with imagecache to transfer the original image from the origin and then resize it locally.

Platform support and installation

This module has been tested using Apache 2 on Mac OS X and Linux.

For more information, see the installation instructions 7.x or 8.x.

Development-focused module

This module is for making it easier to manage local development environments or test-servers that are separated from the vast, malicious internet at the network level. You should not install this module on a server that faces the internet. If you do, you should audit the code thoroughly before doing so. As the introduction says:

You should not need to enable this module in production.

Activity

Total releases
5
First release
Apr 2025
Latest release
3 weeks ago
Releases (12 mo)
3 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Release date
4.0.0 Stable Jun 25, 2026
4.0.x-dev Dev Apr 3, 2026
3.1.6 Stable Sep 11, 2025
3.0.0-alpha3 Pre-release Apr 15, 2025
3.1.5 Stable Apr 15, 2025