SlideShare a Scribd company logo
EUROPE'S LEADING AEM DEVELOPER CONFERENCE


27th – 29th SEPTEMBER 2021


Image optimization at the edge
Jakub Wądołowski, diva-e (@jwadolowski)
Images are everywhere…
https://flic.kr/p/CboXLQ
Standard image manipulation strategies
https://flic.kr/p/NyMYv
•Rendition workflows


•Custom workflows (i.e. metadata removal, imagemagick, etc)


•Offloading (to separate AEM instance)


•Dynamic Media (formerly known as Scene7)
<picture> tag
Reality check
https://flic.kr/p/2evhaRd
•New image formats (WebP, HEIC, AVIF)


•EXIF metadata removal


•“It takes ages to generate renditions out of 300 MB TIF file!”


•“Can you reduce image quality from 85% to 78% for all our assets?”


•“Is it possible to blur out-of-stock products?”


•“Can you render a small ’20% off’ overlay for all on sale dresses?”


•“Would it be possible to dynamically reduce image quality for low-
speed clients?”


•…
The use case
•E-commerce site


•2 image sources


•AEM (marketing assets)


•External system (products)


•Image-heavy website (product listings)
https://flic.kr/p/9XSFfy
Image Optimizer by Fastly
•Image transformations (trim, crop, width, overlay, blur, etc)


•On-the-fly format changes (i.e. auto WebP)


•Quality level adjustments


•EXIF/XMP/ICC metadata removal
https://flic.kr/p/EQbNYd
Prerequisites
•IO (Fastly service add-on)


•Shielding is mandatory


•VCL changes
https://flic.kr/p/7F4bHa
Shielding
How it works?
VCL snippet
VCL snippet (cont’d)
What we use IO for?
•Rendition generation


•Auto WebP


•Metadata removal


•Quality adjustments
https://flic.kr/p/qKCXMK
Demo time!
https://flic.kr/p/gq5UAU
Standard image request
WebP request
It’s a trap!
https://flic.kr/p/j45cS3
AEM assets go-live
What went wrong?
https://flic.kr/p/e5gMRC
•2-stage deployment


•VCL changes (headers/QS/URL rewrites)


•IO add-on deployment


•Order matters :)
AEM assets go-live (cont’d)
Non-AEM assets go-live
Why not Dynamic Media?
•Implementation cost


•Fastly was already part of the application stack


•Fully functional PoC took 1 day


•Zero changes in AEM codebase


•Unified approach for all the origins


•On-going cost
https://flic.kr/p/wUJ1UF
Thank you!

More Related Content

PDF
Altitude London 2018: A hands-on tour of Image Optimisation workshop
PDF
Image Optimization in Drupal
PDF
Softcolor Software 2015 - In Ten Minutes
PDF
141028 PsAi_Intro d03 jb
PDF
AI Image Enhancer: Revolutionizing Visual Quality”
PDF
S903 palla
PPTX
Computer vision labs for improving in the subject
PDF
Imagery: Past, Present, Future
Altitude London 2018: A hands-on tour of Image Optimisation workshop
Image Optimization in Drupal
Softcolor Software 2015 - In Ten Minutes
141028 PsAi_Intro d03 jb
AI Image Enhancer: Revolutionizing Visual Quality”
S903 palla
Computer vision labs for improving in the subject
Imagery: Past, Present, Future

Similar to Image optimization at the edge (20)

PDF
IRJET - Visual Enhancement of E-Commerce Products
PPTX
DMC NI Week 2014 High Speed Vision
PDF
Introduction to Marketing Cloud UI, Adobe Summit 2014
PDF
Optimize Images for SEO WordCamp Sacramento
PDF
A (very brief) Introduction to Image Processing and 3D Printing with ImageJ
PDF
Future trends in machine vision and robot vision inspect buyers guide 2011
PDF
Image and Video Processing Using Adobe Image Foundation's Toolkit For Flash -...
PPTX
search_demystified_presentation for SEO SE<
PDF
Finalyser – the PlugIn- and ExtendScript-Collection for FrameMaker 11
PDF
ADCC Infocad Pvt. Ltd - Capability Document
PPT
Image processing techniques 1
PDF
Ace exam guide_photoshop_cs5
PPT
Dip lect2-Machine Vision Fundamentals
PPTX
Fundamental steps in Digital Image Processing
PPT
Beginning an Imaging Program: Achieving Success and Avoiding the Pitfalls
PDF
How-to-Speed-Up-Your-Work-in-AutoCAD-Revit-and-3ds-Max.pdf
PPTX
Evolve18 | Ameeth Palla | Optimizing Your Assets Implementation
PPTX
Visual fusion 5_spatial
PDF
Finalyser - the Plug-In and ExtendScripts Collection for Adobe FrameMaker an...
PDF
Total OutSource, Inc. - Mechanical Engineering Services
IRJET - Visual Enhancement of E-Commerce Products
DMC NI Week 2014 High Speed Vision
Introduction to Marketing Cloud UI, Adobe Summit 2014
Optimize Images for SEO WordCamp Sacramento
A (very brief) Introduction to Image Processing and 3D Printing with ImageJ
Future trends in machine vision and robot vision inspect buyers guide 2011
Image and Video Processing Using Adobe Image Foundation's Toolkit For Flash -...
search_demystified_presentation for SEO SE<
Finalyser – the PlugIn- and ExtendScript-Collection for FrameMaker 11
ADCC Infocad Pvt. Ltd - Capability Document
Image processing techniques 1
Ace exam guide_photoshop_cs5
Dip lect2-Machine Vision Fundamentals
Fundamental steps in Digital Image Processing
Beginning an Imaging Program: Achieving Success and Avoiding the Pitfalls
How-to-Speed-Up-Your-Work-in-AutoCAD-Revit-and-3ds-Max.pdf
Evolve18 | Ameeth Palla | Optimizing Your Assets Implementation
Visual fusion 5_spatial
Finalyser - the Plug-In and ExtendScripts Collection for Adobe FrameMaker an...
Total OutSource, Inc. - Mechanical Engineering Services
Ad

More from Jakub Wadolowski (14)

PDF
Don’t reduce dispatcher testing to an afterthought
PDF
Automated CI with AEM Cloud service
PDF
The curious case of misrendered JSON
PDF
The shift to the edge
PDF
The shift to the edge
PDF
Taming content delivery at scale
PDF
Into the nooks and crannies of Boden’s digital transformation
PDF
How to seamlessly incorporate CDN into your application stack
PDF
The underappreciated power of content invalidation
PDF
Taming AEM deployments
PDF
(Re)discover your AEM
PDF
How to stay sane during your Vagrant journey
PDF
When dispatcher caching is not enough... (extended version)
PPTX
When dispatcher caching is not enough...
Don’t reduce dispatcher testing to an afterthought
Automated CI with AEM Cloud service
The curious case of misrendered JSON
The shift to the edge
The shift to the edge
Taming content delivery at scale
Into the nooks and crannies of Boden’s digital transformation
How to seamlessly incorporate CDN into your application stack
The underappreciated power of content invalidation
Taming AEM deployments
(Re)discover your AEM
How to stay sane during your Vagrant journey
When dispatcher caching is not enough... (extended version)
When dispatcher caching is not enough...
Ad

Recently uploaded (20)

PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
DP Operators-handbook-extract for the Mautical Institute
PPT
What is a Computer? Input Devices /output devices
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
Developing a website for English-speaking practice to English as a foreign la...
PPTX
Modernising the Digital Integration Hub
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
August Patch Tuesday
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
1. Introduction to Computer Programming.pptx
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Final SEM Unit 1 for mit wpu at pune .pptx
DP Operators-handbook-extract for the Mautical Institute
What is a Computer? Input Devices /output devices
Programs and apps: productivity, graphics, security and other tools
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Enhancing emotion recognition model for a student engagement use case through...
Zenith AI: Advanced Artificial Intelligence
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Developing a website for English-speaking practice to English as a foreign la...
Modernising the Digital Integration Hub
WOOl fibre morphology and structure.pdf for textiles
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
A contest of sentiment analysis: k-nearest neighbor versus neural network
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
August Patch Tuesday
Getting started with AI Agents and Multi-Agent Systems
Hindi spoken digit analysis for native and non-native speakers
1. Introduction to Computer Programming.pptx
How ambidextrous entrepreneurial leaders react to the artificial intelligence...

Image optimization at the edge