Hi Jochen, thanks, now I get fresh values. I wonder why it worked most days without problems. Maybe today was just bad luck. I'll change my script to use "wget --no-cache -O" instead of "curl -o" Hope that means the same as "shift-reload"
Gerd Jochen123 wrote > Nothing strange there. That is the caching. If you load the API URL with > the > browser and do a shift-reload, you'll see the values change. I just did > exactly that. > > The expire times were not set well, so it could take a day for the expire > to get through. I have now updated them so that the pages should expire > shortly after the new data is available. > > Jochen > > On Mi, Nov 04, 2015 at 01:08:08 -0700, GerdP wrote: >> Date: Wed, 4 Nov 2015 01:08:08 -0700 (MST) >> From: GerdP < > gpetermann_muenchen@ > > >> To: > dev@ >> Subject: Re: [OSM-dev] taginfo not always as up to date as it says >> >> Hi Jochen, >> >> hmm, strange. It seems that the api has different values compared to the >> webpage. >> I use a command like this: >> curl -o nodes-%date%.txt >> "http://taginfo.openstreetmap.org/api/4/key/values?key=highway&sortname=value&sortorder=asc&format=json_pretty&filter=nodes" >> to produce a file and the content of this file doesn't match the data in >> the >> webpage. >> I just repeated the command and the file still contains >> total": 251, >> while the webpage >> http://taginfo.openstreetmap.org/keys/highway?filter=nodes#values >> shows 239 entries. >> >> Gerd >> >> >> Jochen123 wrote >> > All logs show that the update worked fine. I don't have the numbers >> from >> > yesterday, so I can't compare. Please tell me exactly what you did, >> which >> > URLs you asked for with which software, etc? Did you start with a clean >> > cache (Use shift-reload on Firefox)? >> > >> > Jochen >> > >> > On Di, Nov 03, 2015 at 11:58:03 -0700, GerdP wrote: >> >> Date: Tue, 3 Nov 2015 23:58:03 -0700 (MST) >> >> From: GerdP < >> >> > gpetermann_muenchen@ >> >> > > >> >> To: >> >> > dev@ >> >> >> Subject: Re: [OSM-dev] taginfo not always as up to date as it says >> >> >> >> Seems to happen again today. The date on the web page >> >> http://taginfo.openstreetmap.org/ >> >> recently changed to "Data from: 2015-11-03 23:58 UTC", >> >> but all counters are the same as the day before. >> >> (not only for the key highway, also surface, oneway,natural) >> >> >> >> Gerd >> >> >> >> >> >> Jochen123 wrote >> >> > On Thu, Oct 22, 2015 at 07:14:27AM +0000, Gerd Petermann wrote: >> >> >> I just noted that taginfo >> >> >> >> >> >> http://taginfo.openstreetmap.org/ >> >> >> >> >> >> >> >> >> claims to show data from 2015-10-21 23:58 UTC >> >> >> >> >> >> This looks wrong, as the numbers for highways are exactly the same >> as >> >> the >> >> >> day before >> >> >> >> >> >> when it showed >> >> >> >> >> >> 2015-10-20 23:58 UTC >> >> > >> >> > Probably a caching issue. Try again with clean browser cache. >> >> > >> >> > Jochen >> >> > -- >> >> > Jochen Topf >> >> >> >> > jochen@ >> >> >> >> > http://www.jochentopf.com/ +49-351-31778688 >> >> > >> >> > _______________________________________________ >> >> > dev mailing list >> >> >> >> > dev@ >> >> >> >> > https://lists.openstreetmap.org/listinfo/dev >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> View this message in context: >> >> >> http://gis.19327.n5.nabble.com/taginfo-not-always-as-up-to-date-as-it-says-tp5857586p5858867.html >> >> Sent from the Developer Discussion mailing list archive at Nabble.com. >> >> >> >> _______________________________________________ >> >> dev mailing list >> >> >> >> > dev@ >> >> >> https://lists.openstreetmap.org/listinfo/dev >> > >> > -- >> > Jochen Topf >> >> > jochen@ >> >> > http://www.jochentopf.com/ +49-351-31778688 >> > >> > _______________________________________________ >> > dev mailing list >> >> > dev@ >> >> > https://lists.openstreetmap.org/listinfo/dev >> >> >> >> >> >> -- >> View this message in context: >> http://gis.19327.n5.nabble.com/taginfo-not-always-as-up-to-date-as-it-says-tp5857586p5858875.html >> Sent from the Developer Discussion mailing list archive at Nabble.com. >> >> _______________________________________________ >> dev mailing list >> > dev@ >> https://lists.openstreetmap.org/listinfo/dev > > -- > Jochen Topf > jochen@ > http://www.jochentopf.com/ +49-351-31778688 > > _______________________________________________ > dev mailing list > dev@ > https://lists.openstreetmap.org/listinfo/dev -- View this message in context: http://gis.19327.n5.nabble.com/taginfo-not-always-as-up-to-date-as-it-says-tp5857586p5858889.html Sent from the Developer Discussion mailing list archive at Nabble.com. _______________________________________________ dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/dev

