mirror of
https://github.com/status-im/status-app.git
synced 2026-08-27 15:11:20 +00:00
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.