disable-cache


目录

title: 'Iconify SVG Framework Function: disableCache'
functions:
  enableCache: './enable-cache.md'
  addIcon: './add-icon.md'
  addCollection: './add-collection.md'

SVG framework function: disableCache

This tutorial is part of Iconify SVG Framework functions tutorial.

include: icon-components/functions/cache/intro-disable
replacements:
  - search: component
    replace: SVG framework

Usage

include icon-components/functions/cache/props

Storage types

include icon-components/functions/cache/storage-types

Examples

// Disable caching in localStorage
Iconify.disableCache('local');

Another example:

// Disable all caching
Iconify.disableCache('all');

Notes

include icon-components/functions/cache/notes


版本号 #2
由 壳壳虫 创建于 2026-10-31 14:20:10 UTC
由 壳壳虫 更新于 2026-10-31 14:20:10 UTC