reduce cache duration

This commit is contained in:
Doug Hoyte
2024-12-10 22:47:46 -05:00
parent 32cd48ac5e
commit af7056e50c

View File

@ -173,7 +173,7 @@ HTTPResponse WebServer::generateReadResponse(lmdb::txn &txn, Decompressor &decom
body = renderFeed(txn, decomp, userCache, cfg().web__homepageFeedId, resultsPerPage, page);
httpResp.extraHeaders += "Cache-Control: max-age=600\r\n";
httpResp.extraHeaders += "Cache-Control: max-age=30\r\n";
} else if (u.path[0] == "e") {
if (u.path.size() == 2) {
EventThread et(txn, decomp, decodeBech32Simple(u.path[1]));