Skip to content

Instantly share code, notes, and snippets.

@lahaxearnaud lahaxearnaud/@Cache
Created Nov 6, 2018

What would you like to do?
* @Route("/cocktail/recette/{name}-{id}", name="cocktail_detail", requirements={"id"="\d+", "name"="[0-9a-z-]+"})
* @Cache(public=true, maxage=86400, mustRevalidate=false, maxStale=86400)
public function index($name, $id)
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.