Files
status-app/docs/adr
Andrey Bocharnikov d2b988a0ae docs(adr): keep third-party media caching in the Qt network layer
Records two decisions that belong together, because caching only decides how
often the bytes cross the network while the CDN URL decides how many bytes
there are: HTTP caching for collectible media stays in the QNetworkDiskCache
that the QML engine's network access factory installs rather than moving behind
the status-go media server, and list-sized media is asked for by rewriting the
Cloudinary delivery URL where the render size is known.

Also records, as an accepted risk, that the factory gives every manager its own
QNetworkDiskCache pointed at one shared directory — which Qt documents as
unsupported. Measured with a probe in create(): two managers in Storybook's
remote mode, a third in the application where XHR from QML takes the engine's
own manager. The consequence is that the size cap is enforced against each
cache's partial view of the directory, and that the statistics screen has to
measure the directory itself rather than ask any one cache.
2026-08-06 14:26:30 +04:00
..