mkdir -p /srv/tilecache/data/$(date --utc "+%Y/%m")
# localhost
curl -w "@/srv/tilecache/tilecache-curl-time.txt" -o /dev/null -s -k -4 \
mkdir -p /srv/tilecache/data/$(date --utc "+%Y/%m")
# localhost
curl -w "@/srv/tilecache/tilecache-curl-time.txt" -o /dev/null -s -k -4 \
-H 'sec-fetch-mode: no-cors' \
-H 'referer: https://www.openstreetmap.org/' \
-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'sec-fetch-mode: no-cors' \
-H 'referer: https://www.openstreetmap.org/' \
-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \
<% render.ipaddresses(:family => :inet, :role => :external).sort.each do |address| -%>
curl -w "@/srv/tilecache/tilecache-curl-time.txt" -o /dev/null -s -k -4 \
--max-time 60 \
<% render.ipaddresses(:family => :inet, :role => :external).sort.each do |address| -%>
curl -w "@/srv/tilecache/tilecache-curl-time.txt" -o /dev/null -s -k -4 \
--max-time 60 \
-H 'authority: c.tile.openstreetmap.org' \
-H 'sec-fetch-dest: image' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36' \
-H 'authority: c.tile.openstreetmap.org' \
-H 'sec-fetch-dest: image' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36' \
-H 'sec-fetch-mode: no-cors' \
-H 'referer: https://www.openstreetmap.org/' \
-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'sec-fetch-mode: no-cors' \
-H 'referer: https://www.openstreetmap.org/' \
-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \
<% cache.ipaddresses(:family => :inet, :role => :external).sort.each do |address| -%>
curl -w "@/srv/tilecache/tilecache-curl-time.txt" -o /dev/null -s -k -4 \
--max-time 60 \
<% cache.ipaddresses(:family => :inet, :role => :external).sort.each do |address| -%>
curl -w "@/srv/tilecache/tilecache-curl-time.txt" -o /dev/null -s -k -4 \
--max-time 60 \
-H 'authority: c.tile.openstreetmap.org' \
-H 'sec-fetch-dest: image' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36' \
-H 'authority: c.tile.openstreetmap.org' \
-H 'sec-fetch-dest: image' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36' \
-H 'sec-fetch-mode: no-cors' \
-H 'referer: https://www.openstreetmap.org/' \
-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'sec-fetch-mode: no-cors' \
-H 'referer: https://www.openstreetmap.org/' \
-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \