An engine artifact store a browser page reaches over HTTP, served by
createAutoMovieArtifactMiddleware from a directory store on the
production's development server.
A page computing an expensive deterministic stage (a prepared figure, a
physics bake) cannot write files, and a fresh headless capture browser has
no persistent browser storage, so the cache lives with the server: one
directory serves the interactive Viewer and every render capture alike.
GET <base>/<hex> returns the bytes with header
x-automovie-artifact-digest or 404, PUT stores them with that header and
DELETE removes them, where <hex> is the key without sha256:. Digests
use crypto.subtle, available in secure contexts, which include
http://localhost and http://127.0.0.1.
Parameters
base: string
Route prefix or absolute URL, such as /__automovie/artifacts.
An engine artifact store a browser page reaches over HTTP, served by
createAutoMovieArtifactMiddlewarefrom a directory store on the production's development server.A page computing an expensive deterministic stage (a prepared figure, a physics bake) cannot write files, and a fresh headless capture browser has no persistent browser storage, so the cache lives with the server: one directory serves the interactive Viewer and every render capture alike.
GET <base>/<hex>returns the bytes with headerx-automovie-artifact-digestor 404,PUTstores them with that header andDELETEremoves them, where<hex>is the key withoutsha256:. Digests usecrypto.subtle, available in secure contexts, which includehttp://localhostandhttp://127.0.0.1.