Non-image file optimization and delivery
func=proxy
Filerobot offers you the option to deliver any file, including non-processable files - static content like JS or CSS files, via our Content Delivery Network.
By default, all urls are regarded as images. To deliver a non-image file, you have to use the func=proxy option:
/docs/bootstrap.css?func=proxy
Cloudimage can automatically use the proxy function for all files which don't have an image file extension. This however will require all your images to have proper file extensions. If you prefer this behaviour, you can switch it on in your Admin Console (Image Settings / Compression / Enable static Content acceleration):
Please note that PDF documents are always converted to images (for more info, please check the PDF to image section). If you want to deliver PDF images as such, you need to use func=proxy: /docs/satie2.pdf?func=proxy
Convert a specific page from a PDF document to an image
doc_page=X
When you provide a link to a PDF file, the first page is converted to an image and delivered via CDN. You can use all available Operations, Filters, Watermarking capabilities and Image compression parameters. To convert a specific page of the PDF document, use the doc_page=X parameter.
Preview | Syntax |
---|---|
Minification of JS and CSS files
process=minify-css process=minify-js
Filerobot supports on-the-fly optimization of CSS and JS content to further facilitate faster loading of your website or web application.
/docs/bootstrap.css?func=proxy&process=minify-css (152 kB minified vs. 192 kB original)
/docs/jquery.js?func=proxy&process=minify-js (111 kB minified vs. 219 kB original)