Re: [OSM-talk] JOSM Tile Cache

2015-04-28 Thread Mike Thompson
Wikor,

Thanks for your reply, and for working on the development of JOSM.  It is
an amazing editor!  The information you provided prompted me to learn more
about HTTP. I will install wireshark tonight and do some more testing, but
I suspect it is the lack of something like "cache-control: no-cache" in the
HTTP header in the JOSM request for new tiles after the local cache has
been emptied.  Perhaps adding that would be mixing functionality that
shouldn't be mixed.  If so, perhaps a new option on the "right click
imagery" menu could be added called "force reload" or "refresh server
cache.".  I will update the ticket with these thoughts and what I learn
tonight.


Mike

On Tue, Apr 28, 2015 at 4:02 AM, Wiktor Niesiobedzki  wrote:

> Mike,
>
> From your description it looks more like caching on the server side than
> on your computer. You can verify that by using different browsers or
> computers.
>
> Hitting force reload in browser may generate new tile on the server and
> there is no such functionality in JOSM right now.
>
> What can be implemented would be to avoid using server caches when you
> right-click and choose to reload the tiles.
>
> As I'm digging in that area currently, I'll look into this.
>
> Cheers,
>
> Wiktor
>
>
> On Tuesday, April 28, 2015, Mike Thompson  wrote:
>
>> Paul,
>>
>> I tested version 8287. I can go ahead and submit a bug report, but wanted
>> to let you know the results directly.  It seems that refreshed Mapnik tiles
>> will only show up after they show up in a browser window open to
>> www.openstreetmap.org.  Let me explain.  I make a change with JOSM,
>> upload it and then, with Mapnik as the imagery layer, right click on the
>> image and click "Flush Tile Cache."  The screen flickers, but the tiles
>> appear the same. I repeat the "Flush Tile Cache" several times over the
>> next few minutes with the same result. I go to the browser (Chrome 
>> 42.0.2311.90
>> m) window open to www.openstreetmap.org the same area and zoom level,
>> and hit F5. Updated tiles are displayed. I then return to JOSM, "Flush Tile
>> Cache" and then the updated tiles are displayed in JOSM as well.  To
>> attempt to prove that it isn't just coincidence,  I have repeated the whole
>> test a number of times with the same results.  Is it possible that JOSM
>> uses the same tile cache as Chrome (but is unable to flush it directly)?
>>
>> MIke
>>
>> On Sun, Apr 26, 2015 at 8:26 AM, Mike Thompson 
>> wrote:
>>
>>> Paul,
>>>
>>> Thanks for your reply and for the information.  I test with the
>>> development version.
>>>
>>> Mike
>>>
>>> On Sun, Apr 26, 2015 at 8:20 AM, Paul Hartmann 
>>> wrote:
>>>
 Hi Mike,

 There has been a major rework of the TMS cache back end in version
 8168-8186. If you can still reproduce this problem with the current
 development build or with the upcoming release, then please don't hesitate
 to report it directly on the JOSM bug tracker!

 Paul


 On 23.04.2015 22:58, Mike Thompson wrote:

> I am using JOSM version 8109 on Windows 7.
>
> I would like to flush JOSM's "OpenStreetMap (Mapnik)" tile cache. With
> the
> "OpenStreetMap (Mapnik) layer displayed, I right clicked on the map,
> and
> then clicked on "Flush Tile Cache", but I still see outdated tiles
> (when
> compared to the openstreetmap.org website - I made sure both were on
> the
> same zoom level). I also tried, in conjunction with the above,
> removing and
> re-adding the "OpenStreetMap (Mapnik)" layer, as well as restarting
> JOSM.
>
> Finally I tried renaming the "OpenStreetMap (Mapnik)" folder in the
> following location: C:\Users\\AppData\Local\JOSM\cache\tms
>   (this is the location the "imagery.tms.tilecache preference is set
> to).
> Only after doing this were the tiles updated.
>
> Does the "Flush Tile Cache" work? I saw a bug report[1] about something
> like this, but it was closed four years ago as "fixed."  If it is
> working,
> am I using it correctly?
>
>
> Thanks,
>
> Mike
>
> [1] https://josm.openstreetmap.de/ticket/6109
>
>
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
>

 ___
 talk mailing list
 talk@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk

>>>
>>>
>>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] JOSM Tile Cache

2015-04-28 Thread Wiktor Niesiobedzki
Mike,

>From your description it looks more like caching on the server side than on
your computer. You can verify that by using different browsers or computers.

Hitting force reload in browser may generate new tile on the server and
there is no such functionality in JOSM right now.

What can be implemented would be to avoid using server caches when you
right-click and choose to reload the tiles.

As I'm digging in that area currently, I'll look into this.

Cheers,

Wiktor

On Tuesday, April 28, 2015, Mike Thompson  wrote:

> Paul,
>
> I tested version 8287. I can go ahead and submit a bug report, but wanted
> to let you know the results directly.  It seems that refreshed Mapnik tiles
> will only show up after they show up in a browser window open to
> www.openstreetmap.org.  Let me explain.  I make a change with JOSM,
> upload it and then, with Mapnik as the imagery layer, right click on the
> image and click "Flush Tile Cache."  The screen flickers, but the tiles
> appear the same. I repeat the "Flush Tile Cache" several times over the
> next few minutes with the same result. I go to the browser (Chrome 
> 42.0.2311.90
> m) window open to www.openstreetmap.org the same area and zoom level, and
> hit F5. Updated tiles are displayed. I then return to JOSM, "Flush Tile
> Cache" and then the updated tiles are displayed in JOSM as well.  To
> attempt to prove that it isn't just coincidence,  I have repeated the whole
> test a number of times with the same results.  Is it possible that JOSM
> uses the same tile cache as Chrome (but is unable to flush it directly)?
>
> MIke
>
> On Sun, Apr 26, 2015 at 8:26 AM, Mike Thompson  > wrote:
>
>> Paul,
>>
>> Thanks for your reply and for the information.  I test with the
>> development version.
>>
>> Mike
>>
>> On Sun, Apr 26, 2015 at 8:20 AM, Paul Hartmann > > wrote:
>>
>>> Hi Mike,
>>>
>>> There has been a major rework of the TMS cache back end in version
>>> 8168-8186. If you can still reproduce this problem with the current
>>> development build or with the upcoming release, then please don't hesitate
>>> to report it directly on the JOSM bug tracker!
>>>
>>> Paul
>>>
>>>
>>> On 23.04.2015 22:58, Mike Thompson wrote:
>>>
 I am using JOSM version 8109 on Windows 7.

 I would like to flush JOSM's "OpenStreetMap (Mapnik)" tile cache. With
 the
 "OpenStreetMap (Mapnik) layer displayed, I right clicked on the map, and
 then clicked on "Flush Tile Cache", but I still see outdated tiles (when
 compared to the openstreetmap.org website - I made sure both were on
 the
 same zoom level). I also tried, in conjunction with the above, removing
 and
 re-adding the "OpenStreetMap (Mapnik)" layer, as well as restarting
 JOSM.

 Finally I tried renaming the "OpenStreetMap (Mapnik)" folder in the
 following location: C:\Users\\AppData\Local\JOSM\cache\tms
   (this is the location the "imagery.tms.tilecache preference is set
 to).
 Only after doing this were the tiles updated.

 Does the "Flush Tile Cache" work? I saw a bug report[1] about something
 like this, but it was closed four years ago as "fixed."  If it is
 working,
 am I using it correctly?


 Thanks,

 Mike

 [1] https://josm.openstreetmap.de/ticket/6109



 ___
 talk mailing list
 talk@openstreetmap.org
 
 https://lists.openstreetmap.org/listinfo/talk


>>>
>>> ___
>>> talk mailing list
>>> talk@openstreetmap.org
>>> 
>>> https://lists.openstreetmap.org/listinfo/talk
>>>
>>
>>
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] JOSM Tile Cache

2015-04-27 Thread Mike Thompson
Paul,

I tested version 8287. I can go ahead and submit a bug report, but wanted
to let you know the results directly.  It seems that refreshed Mapnik tiles
will only show up after they show up in a browser window open to
www.openstreetmap.org.  Let me explain.  I make a change with JOSM, upload
it and then, with Mapnik as the imagery layer, right click on the image and
click "Flush Tile Cache."  The screen flickers, but the tiles appear the
same. I repeat the "Flush Tile Cache" several times over the next few
minutes with the same result. I go to the browser (Chrome 42.0.2311.90
m) window
open to www.openstreetmap.org the same area and zoom level, and hit F5.
Updated tiles are displayed. I then return to JOSM, "Flush Tile Cache" and
then the updated tiles are displayed in JOSM as well.  To attempt to prove
that it isn't just coincidence,  I have repeated the whole test a number of
times with the same results.  Is it possible that JOSM uses the same tile
cache as Chrome (but is unable to flush it directly)?

MIke

On Sun, Apr 26, 2015 at 8:26 AM, Mike Thompson  wrote:

> Paul,
>
> Thanks for your reply and for the information.  I test with the
> development version.
>
> Mike
>
> On Sun, Apr 26, 2015 at 8:20 AM, Paul Hartmann  wrote:
>
>> Hi Mike,
>>
>> There has been a major rework of the TMS cache back end in version
>> 8168-8186. If you can still reproduce this problem with the current
>> development build or with the upcoming release, then please don't hesitate
>> to report it directly on the JOSM bug tracker!
>>
>> Paul
>>
>>
>> On 23.04.2015 22:58, Mike Thompson wrote:
>>
>>> I am using JOSM version 8109 on Windows 7.
>>>
>>> I would like to flush JOSM's "OpenStreetMap (Mapnik)" tile cache. With
>>> the
>>> "OpenStreetMap (Mapnik) layer displayed, I right clicked on the map, and
>>> then clicked on "Flush Tile Cache", but I still see outdated tiles (when
>>> compared to the openstreetmap.org website - I made sure both were on the
>>> same zoom level). I also tried, in conjunction with the above, removing
>>> and
>>> re-adding the "OpenStreetMap (Mapnik)" layer, as well as restarting JOSM.
>>>
>>> Finally I tried renaming the "OpenStreetMap (Mapnik)" folder in the
>>> following location: C:\Users\\AppData\Local\JOSM\cache\tms
>>>   (this is the location the "imagery.tms.tilecache preference is set to).
>>> Only after doing this were the tiles updated.
>>>
>>> Does the "Flush Tile Cache" work? I saw a bug report[1] about something
>>> like this, but it was closed four years ago as "fixed."  If it is
>>> working,
>>> am I using it correctly?
>>>
>>>
>>> Thanks,
>>>
>>> Mike
>>>
>>> [1] https://josm.openstreetmap.de/ticket/6109
>>>
>>>
>>>
>>> ___
>>> talk mailing list
>>> talk@openstreetmap.org
>>> https://lists.openstreetmap.org/listinfo/talk
>>>
>>>
>>
>> ___
>> talk mailing list
>> talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk
>>
>
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] JOSM Tile Cache

2015-04-26 Thread Mike Thompson
Paul,

Thanks for your reply and for the information.  I test with the development
version.

Mike

On Sun, Apr 26, 2015 at 8:20 AM, Paul Hartmann  wrote:

> Hi Mike,
>
> There has been a major rework of the TMS cache back end in version
> 8168-8186. If you can still reproduce this problem with the current
> development build or with the upcoming release, then please don't hesitate
> to report it directly on the JOSM bug tracker!
>
> Paul
>
>
> On 23.04.2015 22:58, Mike Thompson wrote:
>
>> I am using JOSM version 8109 on Windows 7.
>>
>> I would like to flush JOSM's "OpenStreetMap (Mapnik)" tile cache. With the
>> "OpenStreetMap (Mapnik) layer displayed, I right clicked on the map, and
>> then clicked on "Flush Tile Cache", but I still see outdated tiles (when
>> compared to the openstreetmap.org website - I made sure both were on the
>> same zoom level). I also tried, in conjunction with the above, removing
>> and
>> re-adding the "OpenStreetMap (Mapnik)" layer, as well as restarting JOSM.
>>
>> Finally I tried renaming the "OpenStreetMap (Mapnik)" folder in the
>> following location: C:\Users\\AppData\Local\JOSM\cache\tms
>>   (this is the location the "imagery.tms.tilecache preference is set to).
>> Only after doing this were the tiles updated.
>>
>> Does the "Flush Tile Cache" work? I saw a bug report[1] about something
>> like this, but it was closed four years ago as "fixed."  If it is working,
>> am I using it correctly?
>>
>>
>> Thanks,
>>
>> Mike
>>
>> [1] https://josm.openstreetmap.de/ticket/6109
>>
>>
>>
>> ___
>> talk mailing list
>> talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk
>>
>>
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] JOSM Tile Cache

2015-04-26 Thread Paul Hartmann

Hi Mike,

There has been a major rework of the TMS cache back end in version 
8168-8186. If you can still reproduce this problem with the current 
development build or with the upcoming release, then please don't 
hesitate to report it directly on the JOSM bug tracker!


Paul

On 23.04.2015 22:58, Mike Thompson wrote:

I am using JOSM version 8109 on Windows 7.

I would like to flush JOSM's "OpenStreetMap (Mapnik)" tile cache. With the
"OpenStreetMap (Mapnik) layer displayed, I right clicked on the map, and
then clicked on "Flush Tile Cache", but I still see outdated tiles (when
compared to the openstreetmap.org website - I made sure both were on the
same zoom level). I also tried, in conjunction with the above, removing and
re-adding the "OpenStreetMap (Mapnik)" layer, as well as restarting JOSM.

Finally I tried renaming the "OpenStreetMap (Mapnik)" folder in the
following location: C:\Users\\AppData\Local\JOSM\cache\tms
  (this is the location the "imagery.tms.tilecache preference is set to).
Only after doing this were the tiles updated.

Does the "Flush Tile Cache" work? I saw a bug report[1] about something
like this, but it was closed four years ago as "fixed."  If it is working,
am I using it correctly?


Thanks,

Mike

[1] https://josm.openstreetmap.de/ticket/6109



___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk




___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


[OSM-talk] JOSM Tile Cache

2015-04-23 Thread Mike Thompson
I am using JOSM version 8109 on Windows 7.

I would like to flush JOSM's "OpenStreetMap (Mapnik)" tile cache. With the
"OpenStreetMap (Mapnik) layer displayed, I right clicked on the map, and
then clicked on "Flush Tile Cache", but I still see outdated tiles (when
compared to the openstreetmap.org website - I made sure both were on the
same zoom level). I also tried, in conjunction with the above, removing and
re-adding the "OpenStreetMap (Mapnik)" layer, as well as restarting JOSM.

Finally I tried renaming the "OpenStreetMap (Mapnik)" folder in the
following location: C:\Users\\AppData\Local\JOSM\cache\tms
 (this is the location the "imagery.tms.tilecache preference is set to).
Only after doing this were the tiles updated.

Does the "Flush Tile Cache" work? I saw a bug report[1] about something
like this, but it was closed four years ago as "fixed."  If it is working,
am I using it correctly?


Thanks,

Mike

[1] https://josm.openstreetmap.de/ticket/6109
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


[OSM-talk] JOSM tile cache

2012-09-22 Thread Paul Johnson
I'm wondering where I would be able to see cache stats for imagery caches
in JOSM, and any settings that might influence caching.  At my home here in
Oklahoma, I tend to only have a GPRS connection to the internet, so being
able to maximize the local cache would be quite useful.
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk