Moovweb’s Static Asset Delivery gives you all the tools you need to serve the range of content on your site so it loads lightning-fast for your users. All static assets are delivered from our globally-distributed, high-performance content delivery network (CDN), in partnership with Akamai, EdgeCast, and AWS.
Moovweb’s servers are located in major data centers around the world with blazing fast connections to the Internet backbone. When you push a project to the Moovweb cloud, your project’s assets are replicated in all of Moovweb’s servers. This ensures that the users of your website will experience the best performance possible.
This is the central repository for all of the assets you have specifically included in your Moovweb project. There is no special configuration or development needed; when you push your project to the Moovweb Cloud, your assets will be automatically delivered via this service.
While developing locally, any assets in your project’s assets folder will be served from a local asset server running on port 3003 and will contain “_moovweb_local_assets_” in their URLs. When you finish developing and push to the Moovweb cloud, these are automatically bundled and stored on assets.moovweb.net. In the Cloud, the URL pattern will be “//assets.moovweb.net/account/project/build/asset”.
Never reference assets by hardcoding the “_moovweb_local_assets_” path! Always use the
asset() function so that your URLs will be correct locally and in the cloud. See the Project Files: assets page for more information.
These services, along with various other Front-End Optimization techniques, can be accessed by using the Performance Mixer. If you utilize the Performance Mixer, you’ll see that the URLs for your dynamically optimized assets will come from opt.moovweb.net. You can also directly access these services via their APIs.
Moovweb’s Image Optimization service allows you to resize images for specific screen sizes and resolutions. You can deliver images that are fractions of the original sizes, but just as sharp, massively increasing the image download speeds.
To use the Image Optimization, just add the Performance Mixer to your project and call
WebP is a new image format for the web that provides lossless and lossy compression for images, currently only supported by the Google Chrome browser. WebP images are 20%-30% smaller than other formats. If the Image Optimization service detects that the image request is coming from a browser that supports WebP, it will automatically return a WebP-formatted image.
If you wish to directly use the API, use:
img=value is base64 encoded (to allow passing special characters)
The order of the
inline: strings is the order in which the entire JS file will be bundled and returned by the service.
For assets that are not placed in your project’s asset folder, you can utilize Moovweb’s Edge Caching layer to reduce load on your origin servers and serve content as quickly as possible to your end users. See the document on Edge Caching for more details.
Moovweb can also seamlessly integrate with any Content Delivery Network (CDN) — such as Akamai or Cloudflare — you have set up with your origin application. Simply ensure your Production Domains and links on your website are set up correctly.