Skip to content

[EuiIcon] Remove icon cache #8912

Closed as not planned
Closed as not planned

Description

@tkajtoch

Summary

As part of the EuiIcon refactor initiative, we want to remove its internal icon cache.

The internal cache doesn't make much sense since bundlers cache and reuse fetched chunks, and even if that wouldn't happen, most deployments serve static files with Cache-Control and other caching headers.

Considering the above, the additional internal cache EuiIcon adds no value, and creates additional issues for test runners, when used in Storybook or in server-side rendered applications.

Acceptance criteria

  • The internal icon component cache should be removed
  • The clearIconComponentCache and appendIconComponentCache functions should be removed - this is a breaking change even though these exist for "special" cases only

Activity

  1. added theissue type on Jul 25, 2025
  2. github-actions commented on Jan 21, 2026

    @github-actions

    👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.

  3. added
    stale-issue
    on Jan 21, 2026
  4. github-actions commented on Jul 20, 2026

    @github-actions

    ❌ Per our previous message, this issue is auto-closing after having been open and inactive for a year. If you strongly feel this is still a high-priority issue, or are interested in contributing, please leave a comment or open a new issue linking to this one for context.

  5. added
    stale-issue-closed
    on Jul 20, 2026
  6. removed
    stale-issue
    stale-issue-closed
    on Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions