Quelle que soit la page qui affiche une carte openlayers (/ /nav.php /point/) les appels demandant les frontières de massifs et les appels de points sont, semble-t-il tous fait deux fois lors du premier chargement de la page.
(c'est à partir des logs du serveur que j'ai remarqué ça)
Si je clique sur ça (après qu'un maximum de mini images de openlayers, icone, etc. soient dans le cache histoire de limiter) :
http://www.refuges.info/point/89
Voilà ce qui se passe dans les logs, (ça pique un peu les yeux) :
Code : Tout sélectionner
88.180.9.179 - - [06/Jun/2012:18:35:51 +0200] "GET /point/3675/cabane-non-gardee/aiguilles-rouges/abri-du-col-de-bostan-bossetan/ HTTP/1.1" 200 5052 "http://www.refuges.info/news.php" "Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0" 0 www.refuges.info
88.180.9.179 - - [06/Jun/2012:18:35:54 +0200] "GET /ol6.2/img/blank.gif?LAYERS=GEOGRAPHICALGRIDSYSTEMS.MAPS&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=IGNF%3AGEOPORTALFXX&BBOX=520192,5132288,524288,5136384&WIDTH=256&HEIGHT=256&TILED=true HTTP/1.1" 200 42 "http://www.refuges.info/point/3675/cabane-non-gardee/aiguilles-rouges/abri-du-col-de-bostan-bossetan/" "Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0" 0 www.refuges.info
88.180.9.179 - - [06/Jun/2012:18:35:54 +0200] "GET /ol6.2/img/blank.gif?LAYERS=GEOGRAPHICALGRIDSYSTEMS.MAPS&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=IGNF%3AGEOPORTALFXX&BBOX=516096,5132288,520192,5136384&WIDTH=256&HEIGHT=256&TILED=true HTTP/1.1" 200 42 "http://www.refuges.info/point/3675/cabane-non-gardee/aiguilles-rouges/abri-du-col-de-bostan-bossetan/" "Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0" 0 www.refuges.info
88.180.9.179 - - [06/Jun/2012:18:35:54 +0200] "GET /ol6.2/img/blank.gif?LAYERS=GEOGRAPHICALGRIDSYSTEMS.MAPS&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=IGNF%3AGEOPORTALFXX&BBOX=516096,5128192,520192,5132288&WIDTH=256&HEIGHT=256&TILED=true HTTP/1.1" 200 42 "http://www.refuges.info/point/3675/cabane-non-gardee/aiguilles-rouges/abri-du-col-de-bostan-bossetan/" "Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0" 0 www.refuges.info
88.180.9.179 - - [06/Jun/2012:18:35:54 +0200] "GET /ol6.2/img/blank.gif?LAYERS=GEOGRAPHICALGRIDSYSTEMS.MAPS&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=IGNF%3AGEOPORTALFXX&BBOX=520192,5128192,524288,5132288&WIDTH=256&HEIGHT=256&TILED=true HTTP/1.1" 200 42 "http://www.refuges.info/point/3675/cabane-non-gardee/aiguilles-rouges/abri-du-col-de-bostan-bossetan/" "Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0" 0 www.refuges.info
88.180.9.179 - - [06/Jun/2012:18:35:54 +0200] "GET /ol6.2/img/blank.gif?LAYERS=GEOGRAPHICALGRIDSYSTEMS.MAPS&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=IGNF%3AGEOPORTALFXX&BBOX=524288,5128192,528384,5132288&WIDTH=256&HEIGHT=256&TILED=true HTTP/1.1" 200 42 "http://www.refuges.info/point/3675/cabane-non-gardee/aiguilles-rouges/abri-du-col-de-bostan-bossetan/" "Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0" 0 www.refuges.info
88.180.9.179 - - [06/Jun/2012:18:35:54 +0200] "GET /ol6.2/img/blank.gif?LAYERS=GEOGRAPHICALGRIDSYSTEMS.MAPS&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=IGNF%3AGEOPORTALFXX&BBOX=524288,5132288,528384,5136384&WIDTH=256&HEIGHT=256&TILED=true HTTP/1.1" 200 42 "http://www.refuges.info/point/3675/cabane-non-gardee/aiguilles-rouges/abri-du-col-de-bostan-bossetan/" "Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0" 0 www.refuges.info
88.180.9.179 - - [06/Jun/2012:18:35:54 +0200] "GET /exportations/exportations.php?format=gml&bbox=6.7775795619872,46.111980433181,6.8402204380128,46.155099566819 HTTP/1.1" 200 836 "http://www.refuges.info/point/3675/cabane-non-gardee/aiguilles-rouges/abri-du-col-de-bostan-bossetan/" "Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0" 0 www.refuges.info
88.180.9.179 - - [06/Jun/2012:18:35:54 +0200] "GET /ol6.2/img/blank.gif?LAYERS=GEOGRAPHICALGRIDSYSTEMS.MAPS&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=IGNF%3AGEOPORTALFXX&BBOX=524288,5136384,528384,5140480&WIDTH=256&HEIGHT=256&TILED=true HTTP/1.1" 200 42 "http://www.refuges.info/point/3675/cabane-non-gardee/aiguilles-rouges/abri-du-col-de-bostan-bossetan/" "Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0" 0 www.refuges.info
88.180.9.179 - - [06/Jun/2012:18:35:54 +0200] "GET /ol6.2/img/blank.gif?LAYERS=GEOGRAPHICALGRIDSYSTEMS.MAPS&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=IGNF%3AGEOPORTALFXX&BBOX=520192,5136384,524288,5140480&WIDTH=256&HEIGHT=256&TILED=true HTTP/1.1" 200 42 "http://www.refuges.info/point/3675/cabane-non-gardee/aiguilles-rouges/abri-du-col-de-bostan-bossetan/" "Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0" 0 www.refuges.info
88.180.9.179 - - [06/Jun/2012:18:35:54 +0200] "GET /ol6.2/img/blank.gif?LAYERS=GEOGRAPHICALGRIDSYSTEMS.MAPS&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=IGNF%3AGEOPORTALFXX&BBOX=516096,5136384,520192,5140480&WIDTH=256&HEIGHT=256&TILED=true HTTP/1.1" 200 42 "http://www.refuges.info/point/3675/cabane-non-gardee/aiguilles-rouges/abri-du-col-de-bostan-bossetan/" "Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0" 0 www.refuges.info
88.180.9.179 - - [06/Jun/2012:18:35:54 +0200] "GET /exportations/exportations.php?format=gml&bbox=6.7775795619872,46.111980433181,6.8402204380128,46.155099566819 HTTP/1.1" 200 836 "http://www.refuges.info/point/3675/cabane-non-gardee/aiguilles-rouges/abri-du-col-de-bostan-bossetan/" "Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0" 0 www.refuges.info
GET /exportations/exportations.php?format=gml&...........
qui apparaît, semble-t-il, deux fois et à l'identique.
J'imagine que ça doit pouvoir se factoriser et peut-être ainsi alléger et le client, et le serveur.
S'il s'agit d'un bug, celui-ci n'est uniquement que dans les entrailles de la bête, coté utilisation on ne remarque rien