Commit 834d6e0b authored by jan.koester's avatar jan.koester
Browse files

cache times for theme data

parent f5493fc7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ bool blogi::Template::Controller(netplus::con *curcon,libhttppp::HttpRequest *re
                libhttppp::HttpResponse resp;
                resp.setVersion(HTTPVERSION(1.1));
                resp.setState(HTTP200);
                *resp.setData("cache-control") << "max-age=3600";
                *resp.setData("cache-control") << "max-age=31536000";

                std::string type=curfile->first.substr(curfile->first.rfind(".")+1,
                                                       curfile->first.length()-(curfile->first.rfind(".")+1));