Même avec pré-charge réduite, la plus simple tag <video>
<video> provoque de nombreuses demandes * avant d'être cliquée *
<video src="video.mp4" preload="none"></video>
causera requêtes au serveur avant d'être cliqués:
89.212.77.133 - - [01/Dec/2010:11:48:43 +0100] "GET /temp/html5-video-requests-test/one-noposter.html HTTP/1.1" 200 267 "-" "Mozilla/5.0 (iPhone Simulator; U; CPU iPhone OS 4_0_2 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A400 Safari/6531.22.7"
89.212.77.133 - - [01/Dec/2010:11:48:43 +0100] "GET /temp/html5-video-requests-test/video.mp4 HTTP/1.1" 206 2 "-" "AppleCoreMedia/1.0.0.8A400 (iPhone Simulator; U; CPU OS 4_0_2 like Mac OS X; en_us)"
89.212.77.133 - - [01/Dec/2010:11:48:43 +0100] "GET /temp/html5-video-requests-test/video.mp4 HTTP/1.1" 206 8621463 "-" "AppleCoreMedia/1.0.0.8A400 (iPhone Simulator; U; CPU OS 4_0_2 like Mac OS X; en_us)"
89.212.77.133 - - [01/Dec/2010:11:48:43 +0100] "GET /temp/html5-video-requests-test/video.mp4 HTTP/1.1" 206 101783 "-" "AppleCoreMedia/1.0.0.8A400 (iPhone Simulator; U; CPU OS 4_0_2 like Mac OS X; en_us)"
89.212.77.133 - - [01/Dec/2010:11:48:44 +0100] "GET /temp/html5-video-requests-test/video.mp4 HTTP/1.1" 206 8499743 "-" "AppleCoreMedia/1.0.0.8A400 (iPhone Simulator; U; CPU OS 4_0_2 like Mac OS X; en_us)"
89.212.77.133 - - [01/Dec/2010:11:48:44 +0100] "GET /temp/html5-video-requests-test/video.mp4 HTTP/1.1" 304 - "-" "AppleCoreMedia/1.0.0.8A400 (iPhone Simulator; U; CPU OS 4_0_2 like Mac OS X; en_us)"
89.212.77.133 - - [01/Dec/2010:11:48:44 +0100] "GET /temp/html5-video-requests-test/video.mp4 HTTP/1.1" 206 2 "-" "AppleCoreMedia/1.0.0.8A400 (iPhone Simulator; U; CPU OS 4_0_2 like Mac OS X; en_us)"
89.212.77.133 - - [01/Dec/2010:11:48:44 +0100] "GET /temp/html5-video-requests-test/video.mp4 HTTP/1.1" 206 8621463 "-" "AppleCoreMedia/1.0.0.8A400 (iPhone Simulator; U; CPU OS 4_0_2 like Mac OS X; en_us)"
89.212.77.133 - - [01/Dec/2010:11:48:44 +0100] "GET /temp/html5-video-requests-test/video.mp4 HTTP/1.1" 206 101783 "-" "AppleCoreMedia/1.0.0.8A400 (iPhone Simulator; U; CPU OS 4_0_2 like Mac OS X; en_us)"
89.212.77.133 - - [01/Dec/2010:11:48:45 +0100] "GET /temp/html5-video-requests-test/video.mp4 HTTP/1.1" 206 8505535 "-" "AppleCoreMedia/1.0.0.8A400 (iPhone Simulator; U; CPU OS 4_0_2 like Mac OS X; en_us)"
89.212.77.133 - - [01/Dec/2010:11:48:44 +0100] "GET /temp/html5-video-requests-test/video.mp4 HTTP/1.1" 206 8519680 "-" "AppleCoreMedia/1.0.0.8A400 (iPhone Simulator; U; CPU OS 4_0_2 like Mac OS X; en_us)"
Le réglage d'une affiche réduit cela à poster + env. 3 demandes
Comme j'ai beaucoup de vidéos sur une page, je ne veux pas que le navigateur fasse demandes jusqu'à ce que la vidéo soit cliquée. Que puis-je faire de plus en plus de définir une affiche et de désactiver la précharge?