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
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.