Skip to content

Commit

Permalink
change caching
Browse files Browse the repository at this point in the history
  • Loading branch information
radek-baczynski committed Oct 10, 2018
1 parent 3b92a3c commit de1fead
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AssetsBundle/Controller/AssetsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public function scriptTagsAction(Request $request, $assetsType, $forRoute)
}

$rsp = new Response(implode("\n", $scripts));
$rsp->setPublic();
$rsp->setTtl(0);
$rsp->setPrivate();
$rsp->setTtl(5);

return $rsp;
}
Expand Down

0 comments on commit de1fead

Please sign in to comment.