Skip to content

Commit

Permalink
reduce cache duration
Browse files Browse the repository at this point in the history
  • Loading branch information
hoytech committed Dec 11, 2024
1 parent 2ab242f commit a728442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/web/WebReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]));
Expand Down

0 comments on commit a728442

Please sign in to comment.