The json will be cached.
public getCachedJson ( |
||
$locale | The locale | |
return | Neos\Error\Messages\Result |
/** * Returns the cached json array with the xliff labels * * @param string $locale * @return string */ public function xliffAsJsonAction($locale) { $this->response->setHeader('Content-Type', 'application/json'); return $this->xliffService->getCachedJson(new Locale($locale)); }