Optimize your site's existing images, videos, and audio with Bytescale by adding your site's base URL as an upstream file source.
Process files hosted elsewhere.
Benefit from edge caching and permanent caching.
Learn about: Edge Caching, Permanent Caching, and Image Optimization to reduce page load times.
Requests to transform files from external HTTP URLs may incur additional latency due to internal download operations:
Video and audio transformations incur ~1 second of extra latency per 75MB of input file size when using external HTTP URLs.*
Image transformations incur no extra latency: the performance is the same as using Bytescale's Built-in Storage.
*
Applies to the first request only: once the result is cached all subsequent requests to the same URL will return near-instantly.
Bytescale supports two options for processing externally-hosted files:
To process files from a fixed base URL:
Create a folder in the Bytescale Dashboard.
Edit the folder's settings.
Click on "Storage Settings".
Change "Storage Type" to "External HTTP URL".
For "Use a Base URL" select "Yes"
Enter the base URL to fetch files from.
Click on "Save Changes". (Don't forget this step before continuing!)
Try it out:
Copy the "Example CDN URL" from the UI.
Replace "example.jpg" with a relative path you want to fetch from the underlying URL.
To process the file, try using the Image Processing API.
To process files from any URL at runtime:
Create a folder in the Bytescale Dashboard.
Edit the folder's settings.
Click on "Storage Settings".
Change "Storage Type" to "External HTTP URL".
For "Use a Base URL" select "No"
Click on "Save Changes". (Don't forget this step before continuing!)
Try it out:
Copy the "Example URL" from the UI.
Replace "https://assets.bytescale.com/example.jpg" with a URL you want to fetch.
To process the file, try using the Image Processing API.
For reference, the "Storage Settings" section of the "Folder Settings" page is shown below:
These pages may also be helpful:
This website uses cookies. By continuing you are consenting to the use of cookies per our cookie policy.
This website requires a modern web browser -- the latest versions of these browsers are supported: