Fixed Route::cache() in production mode.