HandlerFeedGenerator: Add caching

This commit is contained in:
2022-03-27 21:22:00 +02:00
والد f5eb36e7bb
کامیت 7bb7600d39
4فایلهای تغییر یافته به همراه23 افزوده شده و 11 حذف شده

مشاهده پرونده

@@ -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)
{