Contexts: browser, server
- Takes the image id provided by the storage and creates an URL like /carousel/06a55f5c-fb24-4a81-8ab8-abb0f630ce81.jpeg
- Passes it as a source to the lazy image.
Contexts: browser
- Finds the nearest breakpoint and adds the width of the breakpoint to the file name: /carousel/06a55f5c-fb24-4a81-8ab8-abb0f630ce81_800.jpeg
- Tells the browser to load the image which sends a request to the route handler.
Contexts: dynserver, publisher
- Takes an URL of the form "/carousel/{image_name}" (Example: /carousel/06a55f5c-fb24-4a81-8ab8-abb0f630ce81_800.jpeg)
- Transforms the URL into /carousel/files/06a55f5c-fb24-4a81-8ab8-abb0f630ce81.jpeg?width=800
- Sents a request to the store.
- Forwards the reply as a stream.
Contexts: publisher
- Makes a request to the store.
- Generates URLs for each carousel, each image and each breakpoint.
- Returns all URLs as a flat array. Example:
/carousel/06a55f5c-fb24-4a81-8ab8-abb0f630ce81_320.jpeg /carousel/06a55f5c-fb24-4a81-8ab8-abb0f630ce81_800.jpeg /carousel/06a55f5c-fb24-4a81-8ab8-abb0f630ce81_1200.jpeg /carousel/06a55f5c-fb24-4a81-8ab8-abb0f630ce81_1590.jpeg
- Collects the URLs from all generators.
- Crawls all urls (route handlers are called).
- Saves the responses into corresponding files.
- Find the corresponding route handler for the incomming URL (Example: /carousel/06a55f5c-fb24-4a81-8ab8-abb0f630ce81_800.jpeg)
- Forward the reply as a stream to the browser.