Skip to content

Unexpected GET Requests Count with web-optimized COG #276

Answered by vincentsarago
tebben asked this question in Q&A
Discussion options

You must be logged in to vote

Fyi I've just updated tilebench to add the --tms option

$ env | grep "GDAL"
GDAL_CACHEMAX=75%
GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR
GDAL_HTTP_MERGE_CONSECUTIVE_RANGES=YES
GDAL_HTTP_MULTIPLEX=YES
GDAL_INGESTED_BYTES_AT_OPEN=32768

zoom 17

tilebench profile http://localhost:8000/R_09BN2_4326_cog.tif --tile 17-134586-26855 --add-kernels --tms WGS1984Quad.json | jq

{
  "HEAD": {
    "count": 1
  },
  "GET": {
    "count": 2,
    "bytes": 196608,
    "ranges": [
      "0-32767",
      "302710784-302874623"
    ]
  },
  "WarpKernels": [],
  "Timing": 0.03943824768066406
}

Zoom 16

here you can see that GDAL needs an additional GET request for the header

tilebench profile http://localhost:8000…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@vincentsarago
Comment options

@vincentsarago
Comment options

Answer selected by tebben
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@vincentsarago
Comment options

@tebben
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #275 on January 24, 2024 08:30.