HandlerFeedGenerator: Add caching

This commit is contained in:
2022-03-27 21:22:00 +02:00
parent f5eb36e7bb
commit 7bb7600d39
4 changed files with 23 additions and 11 deletions

View File

@@ -101,6 +101,7 @@ Response HandlerPageEdit::handleRequest(PageDao &pageDao, std::string pagename,
pageDao.setCategories(pagename, cats);
this->database->commitTransaction();
this->cache->removePrefix("page:"); // TODO: overkill?
this->cache->removePrefix("feed:");
}
catch(const DatabaseException &e)
{