Peakhour provides a powerful tool for transforming HTML and images at the Edge. With this feature, you can simplify your development workflows and improve the speed of your website. The following are some of the transformations you can make:

  1. Edge Side Includes (ESI) - This allows you to make dynamic changes to your HTML without having to make a round trip to the origin server. You can use ESI to dynamically include different content based on user agents, geolocation, or other criteria.
  2. Image Optimization - Peakhour provides a variety of image optimization options, such as resizing, compression, and conversion to WebP format. These optimizations can significantly reduce the size of images, improving page load times.
  3. Lazy Loading - With lazy loading, images are only loaded when they are needed, improving the speed and performance of your website.
  4. Resizing - You can use the resizing transformation to automatically resize images based on the dimensions of your website. This can save time and reduce the size of your images, resulting in faster page load times.

In addition to these transformations, Peakhour also provides HTML rewrites, script insertion, and image processing capabilities. These features provide even more flexibility and control over how your website is transformed at the Edge.

Whether you're a web developer or a website owner, Peakhour's transforms feature provides a powerful and flexible way to improve your website's performance and user experience.