Skip to content

explayouts_ui_api 1.3.38

Choose a tag to compare

@se7enxweb se7enxweb released this 14 Nov 14:58
· 26 commits to main since this release
  • Fixed: The layout editor asks for a layout's draft once per opening. It read the layout again right after creating the draft, the browser could answer that read with its copy of the published layout, and the editor then asked for the draft again: three to six draft requests per opening on some layouts. It keeps the draft the request answered with now; a layout that has a draft opens as before, without a draft request.
  • Fixed: Every answer of the API is sent with Cache-Control: no-store and without Last-Modified, so a browser never shows an earlier copy of an answer (a repeated read within the same second was answered with 304).
  • Added: tests/js/draft-once.test.mjs counts the draft requests of an opening.