e) {
                        updateCacheStatusDisplay();
                    } else {
                        clearInterval(updateInterval);
                    }
                }, 1000);
            }
        }

        // 更新缓存状态显示
        function updateCacheStatusDisplay() {
            const stats = getCacheStats();
            document.getElementById('cachedCount').textContent = stats.cachedSlides;
            document.getElementById('loadingCount').textContent = stats.loadingSlides;
 