diff --git a/frontend/app.js b/frontend/app.js
index 6d63a84..123f95d 100755
--- a/frontend/app.js
+++ b/frontend/app.js
@@ -145,6 +145,9 @@ const RecentSearches = (() => {
const hit = loadResults()[norm(q)];
return hit && Array.isArray(hit.results) && hit.results.length ? hit : null;
},
+ // Normalized queries that have a cached result set — one localStorage
+ // read for the whole dropdown, rather than one per row.
+ cachedQueries() { return new Set(Object.keys(loadResults())); },
};
})();
@@ -8622,11 +8625,15 @@ function wireUI() {
function renderRecentSearches() {
const list = RecentSearches.list();
if (!list.length) { els.searchRecent.innerHTML = ''; return; }
- els.searchRecent.innerHTML = list.map((q) => `
-