We recommend including the CSS in the @primer/octicons npm module. You can also npm install that package and include build/build.css in your styles.
Caching
octicons_helper caches repeated calls to octicon based on the name of the icon and the provided options hash. Avoid arbitrary/high cardinality options (such as an id with a unique record identifier), as they can cause a memory leak.