-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
Product / Portfolio Work
-
False
-
-
False
-
5
-
None
-
None
-
OCP Console - Sprint 278
As a user browsing the Operator catalog, I want operator icons to load efficiently so that the UI is responsive and performs well, even when displaying a large number of packages.
In OLM v1, icons are stored in File-Based Catalogs (FBC) and served by the catalogd service. Since the icon data for the entire catalog can be quite large, we need an efficient way to serve these assets to the UI without repeatedly fetching them.
This story involves creating a new caching mechanism on our server. This mechanism will use the catalogd meta endpoint to fetch package icon assets once, cache them, and serve them to the client.
Acceptance Criteria
- A new server endpoint is created to fetch and serve operator icons by package name.
- The endpoint retrieves icon data from the catalogd service's meta endpoint.
- Icons are cached on the server after the first successful fetch for a package.
- A reasonable default cache expiration age (TTL) is determined and configured.
- The endpoint supports standard HTTP cache-control headers, responding with a 304 Not Modified status when a client's cached version is still valid.
- The UI is updated to use this new endpoint for displaying operator icons.
- All <img> elements for operator icons in the catalog view use the loading="lazy" attribute to ensure they are requested only when scrolled into view.
- Add unit tests for the new functionality
- depends on
-
CONSOLE-4668 Implement an olmv1 catalog service endpoint in bridge
-
- In Progress
-
- is depended on by
-
CONSOLE-4229 Add channel and version selectors to Extension Catalog details view
-
- To Do
-
-
CONSOLE-4729 Enable and integrate the OLM v1 operator catalog in the UI
-
- To Do
-