sasiko Posted September 7, 2015 Posted September 7, 2015 got some issue after using online tools like webpagetest and pagespeed insight my server still doesnt cache static files that longdid i do something wrong on the config?HTTP/1.1 200 OKServer: nginxContent-Type: image/jpegConnection: keep-aliveDate: Mon, 07 Sep 2015 08:02:21 GMTExpires: Mon, 07 Sep 2015 08:07:21 GMTCache-Control: max-age=300Last-Modified: Tue, 01 Sep 2015 08:50:41 GMT server { location ~* \.(jpg|jpeg|png|gif|ico|css|js|woff)$ { expires 365d; } if (!-e $request_filename) { rewrite "^/(.*)$" "/forum/public/404.php"; } if (!-e $request_filename) { rewrite "^/(.*)$" "/forum/index.php";
Recommended Posts
Archived
This topic is now archived and is closed to further replies.