From 2994f221f79866cc74b419574ad68ecd18014306 Mon Sep 17 00:00:00 2001 From: Samuel Enocsson Date: Tue, 12 Aug 2025 17:04:14 +0200 Subject: [PATCH] Add cache management and smart delay optimization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add subtle "clear cache" link (gear icon) in top-right corner - Implement cache clearing endpoint with user feedback - Fix delay logic to skip delays for cached data - Only apply rate limiting delays when actually scraping fresh data - Add cache size reporting when clearing cache - Improve performance for repeat visits with cached data - Maintain server-friendly rate limiting for fresh scrapes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- index.html | 26 ++++++++++++++++++++++++++ server.js | 26 ++++++++++++++++++++++++-- 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 892f385..55e26dd 100644 --- a/index.html +++ b/index.html @@ -172,6 +172,9 @@

PDGA Player Ratings

+
+ âš™ +