Skip to content

Manage File Offloading Rules

Open Website -> Platform -> File Management, select the Website Environment, and choose Manage file offloading. The page shows what the platform includes by default, what it never offloads, your own rules, and the latest report from the hosting node for each discovered file.

Anyone who can view the Environment’s files can view this page. Changing rules requires the same access as changing other Environment settings.

The platform discovers files automatically. You do not need a folder with a special name or a separate offload URL.

Website Runtime Default inclusion
WordPress Every file under wp-content/uploads. Media Library files offload; other files there are discovered and listed but stay local for now.
PHP and Node.js Every file in the persistent /data storage. Only files in the folder your application already serves publicly can offload.
Static HTML Every file in the published document root.
TMX CMS Files in the global assets/ folder.

Only passive media types offload, such as images, audio, video and PDF. Pages, scripts, SVG, executable files and unsupported types stay local even when a rule selects them. A TMX CMS Website keeps every image local, because the CMS needs the original to create its image versions.

Rules apply to one Website Environment. New files that match a rule follow it automatically.

Some locations are never offloaded, and you cannot override them. They appear in the rule list as locked rows with the reason:

  • WordPress core, plugins, themes, must-use plugins and other WordPress code, including images inside a plugin or theme.
  • Logs and log folders.
  • Backup files and backup folders, including images stored inside a backup folder.
  • Credentials, keys and environment files.
  • Dependencies such as node_modules and vendor, and runtime working folders such as caches, temporary files and sessions.
  • Hidden files and folders, and anything outside the Environment’s own storage.

An inclusion that conflicts with a locked protection cannot be saved. The editor names the protection it conflicts with.

  1. Choose Include or Exclude.
  2. Choose a single file or a folder. A folder rule covers everything inside it.
  3. Enter the path relative to the storage shown on the page, for example wp-content/uploads/private for WordPress or public-media/avatars for a Node.js application.
  4. Review the preview. It shows which listed files would change and any conflict.
  5. Save.

Exclusions always win over inclusions, and rule order does not matter. You cannot include a file inside a folder you excluded; narrow or remove the exclusion instead. Removing all your rules returns the Environment to the platform defaults. Removing a rule never deletes a file.

If someone else saved rules after you opened the page, your save is refused. Reload, review their change, and save again.

The overview shows the saved rule revision and whether the hosting node has applied it. While it says waiting to apply, the previous revision named on the badge is still in effect. The node applies a new revision on its next pass, usually within minutes. The overview also shows when the node last reported and last finished scanning. A report older than an hour is marked out of date.

Excluding a file that is already offloaded

Section titled “Excluding a file that is already offloaded”

New offloading of a newly excluded file stops as soon as the node applies the rule. A file that already exists only on the CDN is brought back to the server first. Its original URL keeps working throughout, and the CDN copy is retired only after the local copy is verified.

The overview shows how many excluded files are being brought back. If an attempt fails, for example while storage is unavailable, the file list shows the error. The platform retries automatically, and the original URL keeps working meanwhile.

Excluding a file does not instantly revoke access to it. A CDN link that was already shared, and copies held in browser or external caches, can outlive the change. Rules decide where files are stored. They do not make a public URL private. To protect a file that must not be public, remove or move it, and protect the Environment with an Access Gate where appropriate.

The overview distinguishes these cases:

  • Disabled: the platform has not turned on offloading for this Environment. Your rules are kept and apply when it is turned on.
  • Setup needed: files are discovered, but the platform cannot serve them from their original URLs after offload. For PHP and Node.js, set the public media folder in the application’s runtime settings. For PHP, the document root must also link to that folder.
  • No report yet or report out of date: the hosting node has not reported recently, so no counts are shown.
  • No files: the last scan finished and found nothing to consider.

Rules belong to the Environment, not to its content. A restore never changes them, and the restored files are checked against the current rules before any of them is offloaded. An Environment Transfer into an Environment that has never saved rules starts it with the source Environment’s rules, so files you excluded on the source stay local on the destination. A destination that has its own rules keeps them.