This commit is contained in:
xiaomlove
2025-09-14 00:47:09 +07:00
parent 4c46f376ba
commit c74c88f5a5
10 changed files with 65 additions and 22 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ $passkey = $_GET['passkey'] ?? $CURUSER['passkey'] ?? '';
if (!$passkey) {
die("require passkey");
}
$cacheKey = "nexus_rss:$passkey:" . md5(http_build_query($_GET));
unset($_GET['passkey']);
$cacheKey = "nexus_rss:" . md5(http_build_query($_GET));
$cacheData = \Nexus\Database\NexusDB::cache_get($cacheKey);
if ($cacheData && nexus_env('APP_ENV') != 'local') {
do_log("rss get from cache");