You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure why but Symfony is not caching the calls to translations.
Modifying the http_cache_time parameters seems to have no effect.
Could it be that when building the response on getTranslationsAction this line should be added? $response->headers->set(AbstractSessionListener::NO_AUTO_CACHE_CONTROL_HEADER, 'true'); https://symfony.com/doc/current/http_cache.html#http-caching-and-user-sessions
I can make a PR with that if its okay.
I'm not sure why but Symfony is not caching the calls to translations.
Modifying the http_cache_time parameters seems to have no effect.
Could it be that when building the response on getTranslationsAction this line should be added?
$response->headers->set(AbstractSessionListener::NO_AUTO_CACHE_CONTROL_HEADER, 'true');
https://symfony.com/doc/current/http_cache.html#http-caching-and-user-sessions
I can make a PR with that if its okay.
I read the related issue #297 but didn't work.
The text was updated successfully, but these errors were encountered: