Heroicons.Cache (Heroicons v0.4.1) View Source

An ETS-backed cache for icons. We cache both pre-compiled Phoenix Components and icon bodies as strings.

Uses the icon's path on disk as a key.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Fetch a icon's body and fingerprint from the cache or disk, given a path

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Fetch a icon's body and fingerprint from the cache or disk, given a path