FriendsOfSymfony/FOSJsRoutingBundle — Issue #13: Add a way to dump the JS routes in prod
Author: stof
Created: 2011-10-09 18:19:40+00:00
State: open
Labels: Feature

The controller currently loads all routes for each request to build the JSON representation of routes. The route loading is a very heavy task and should always produce the same result in prod (the cache need to be cleared anyway for the PHP routes); We should add a way to dump the JSON in the cache to avoid doing the heavy work each time.