There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-785c1eef-512a-413f-9309-f22f5c4a9218 XWIKI-25009 Open

The localization translations REST resource sets no cache headers

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-6aaa1ab7-5bce-4635-912b-d08381ab5ff5 Manuel Leduc on 17/Sep/26 17:34
 

Note on the "Expected" section: the result also depends on the current user, not only on the wiki, the locale and the keys. Translation documents with the USER scope are registered for their author and apply only to that author's requests. The response must therefore be cached as private. The fix revalidates on every request (Cache-Control: private, no-cache plus an ETag computed from the returned translations), so an edited Translations document shows up immediately.