Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.12.0 Alpha
-
None
Description
Image {
source: "https://www.yr.no/place/Norway/Oslo/Oslo/Tryvann_skisenter/meteogram_med_observasjon.png"
}
$ curl -I https://www.yr.no/place/Norway/Oslo/Oslo/Tryvann_skisenter/meteogram_med_observasjon.png HTTP/1.1 200 OK Content-Type: image/png Last-Modified: Mon, 01 Oct 2018 07:48:11 GMT Server: Microsoft-IIS/8.5 X-Powered-By: ASP.NET X-Frontendserver: MADMZYRWWW15 Content-Length: 45783 X-Varnish: 99618067 98927160 X-CacheServer: madmzlxyrvarnish05 Accept-Ranges: bytes Cache-Control: public, max-age=0 Expires: Mon, 01 Oct 2018 08:20:11 GMT Date: Mon, 01 Oct 2018 08:20:11 GMT Connection: keep-alive
I want to reload that image periodically. I could use a Timer, but forcing it to reload is actually hard (that's QTBUG-14900 / QTBUG-12704). It could be argued that since the server says the image expires after 10 minutes, we should reload it automatically. But maybe automatic reloading should be enabled by some property. This goes for Image, AnimatedImage and any other subclass that can load from a URL (so we can implement it in QQuickImageBase).
Attachments
Issue Links
- relates to
-
QTBUG-55777 QNetworkRequest::KnownHeaders should be expanded
- Open