From d7dbe7fee362d587dfc334135d9581b6216a4295 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 23 Nov 2025 04:13:56 +0000
Subject: [PATCH] =Timeline block, and feed block updated. DataStore.js refactored to not block rendering
---
inc/rest/routes/FormRoutes.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/inc/rest/routes/FormRoutes.php b/inc/rest/routes/FormRoutes.php
index 0e5cfd2..198e702 100644
--- a/inc/rest/routes/FormRoutes.php
+++ b/inc/rest/routes/FormRoutes.php
@@ -30,7 +30,7 @@
{
parent::__construct();
$this->action = 'form-';
- $this->cache = new CacheManager('form_submissions', HOUR_IN_SECONDS);
+ $this->cache = CacheManager::for('forms', HOUR_IN_SECONDS);
// Initialize Cloudflare Turnstile if available
$this->turnstile = class_exists('JVBase\managers\CloudflareTurnstile') && jvbSiteUsesCloudflare()
@@ -159,7 +159,7 @@
}
// Store submission data temporarily for success display
- $this->cache->set('submission_' . $form_id, $processed_data, HOUR_IN_SECONDS);
+ $this->cache->set('submission_' . $form_id, $processed_data);
// Log successful submission
$this->recordSubmission($_SERVER['REMOTE_ADDR'], $processed_data['email'] ?? '');
--
Gitblit v1.10.0