@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/?post_type=lh-portfolio&#038;p=152574>
  a sioc:Post ;
  dc:title "LH idb-keyval" ;
  dcterms:identifier 152574 ;
  dc:modified "2026-10-27T12:20:00Z"^^xsd:dateTime ;
  dc:created "2026-10-27T03:13:58Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-idb-keyval/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded "<ul class=\"lh_portfolio-meta\"><li><strong>Type:</strong> Plugin</li></ul><p class=\"wp-block-paragraph\">LH idb-keyval provides <a href=\"https://github.com/jakearchibald/idb-keyval\">idb-keyval</a>, Jake Archibald&#8217;s small promise-based key-value store built on IndexedDB, once for every plugin on a WordPress network. Plugins that keep data in the browser share one copy of the library instead of each loading their own.</p><ul class=\"wp-block-list\"><li>Registers the library as the <code>idb-keyval</code> script module. A plugin lists it as a dependency of its own module and writes <code>import { get, set } from 'idb-keyval';</code>.</li><li>Ships a classic build for service workers, which cannot use import maps, at the URL <code>LH_Idb_Keyval::get_umd_url()</code> returns.</li><li>The plugin version is the library version.</li><li>No settings, no admin notices, nothing written to the debug log.</li></ul><p class=\"wp-block-paragraph\">Plugins that use it don&#8217;t require it. Each bundles a fallback copy and the shared fallback snippet kept in this plugin, so it keeps working when LH idb-keyval is inactive, and Site Health reports which plugins are using their own copy.</p><ul class=\"lh_portfolio-doc-toc\"><li><a href=\"https://lhero.org/portfolio/lh-idb-keyval/using-it-in-a-plugin/\">Using it in a plugin</a></li><li><a href=\"https://lhero.org/portfolio/lh-idb-keyval/architecture/\">Architecture</a></li><li><a href=\"https://lhero.org/portfolio/lh-idb-keyval/changelog/\">Changelog</a></li></ul>"^^rdf:XMLLiteral ;
  sioc:content "Type: PluginLH idb-keyval provides idb-keyval, Jake Archibald&#8217;s small promise-based key-value store built on IndexedDB, once for every plugin on a WordPress network. Plugins that keep data in the browser share one copy of the library instead of each loading their own.Registers the library as the idb-keyval script module. A plugin lists it as a dependency of its own module and writes import { get, set } from 'idb-keyval';.Ships a classic build for service workers, which cannot use import maps, at the URL LH_Idb_Keyval::get_umd_url() returns.The plugin version is the library version.No settings, no admin notices, nothing written to the debug log.Plugins that use it don&#8217;t require it. Each bundles a fallback copy and the shared fallback snippet kept in this plugin, so it keeps working when LH idb-keyval is inactive, and Site Health reports which plugins are using their own copy.Using it in a pluginArchitectureChangelog" ;
  sioc:topic <https://lhero.org/lh_portfolio-type/plugin/>, <https://lhero.org/?taxonomy=author&term=cap-1> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/lh_portfolio-type/plugin/> rdfs:seeAlso <https://lhero.org/lh_portfolio-type/plugin/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
