[Geoserver-users] GeoServer caching mechanism

Hi,

I'm currently trying to compare the speed of GeoServer with other solutions. GeoServer seems really fast and wonder if there's some kind of caching mechanism in place by default.

I've installed GeoServer on Windows with the self-installer and left all the default options.

What makes me think that there's one is that the first time it draws a map is slower then the second time. Am I wrong?

Thanks
Julien

PS: I also saw some documentation about a Google Summer of code project to cache the DataStore, but don't know if it was done or not.

--
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/

Hi,

there is no real caching by default. You can use GeoWebCache, http://geoserver.org/display/GEOSDOC/GeoWebCache .

It's not unusual that things are drawn faster the second time, because of diskblock cache of the operating system and similar mechanisms in the database backends. However, it may also just be your browser caching the image.

-Arne

Julien-Samuel Lacroix wrote:

Hi,

I'm currently trying to compare the speed of GeoServer with other solutions. GeoServer seems really fast and wonder if there's some kind of caching mechanism in place by default.

I've installed GeoServer on Windows with the self-installer and left all the default options.

What makes me think that there's one is that the first time it draws a map is slower then the second time. Am I wrong?

Thanks
Julien

PS: I also saw some documentation about a Google Summer of code project to cache the DataStore, but don't know if it was done or not.

Thanks a lot for your answer. It helps sorting things out.

Is there any persistent connection mechanism then? I'm working with a PostGIS layer.

Julien

Arne Kepp wrote:

Hi,

there is no real caching by default. You can use GeoWebCache, http://geoserver.org/display/GEOSDOC/GeoWebCache .

It's not unusual that things are drawn faster the second time, because of diskblock cache of the operating system and similar mechanisms in the database backends. However, it may also just be your browser caching the image.

-Arne

Julien-Samuel Lacroix wrote:

Hi,

I'm currently trying to compare the speed of GeoServer with other solutions. GeoServer seems really fast and wonder if there's some kind of caching mechanism in place by default.

I've installed GeoServer on Windows with the self-installer and left all the default options.

What makes me think that there's one is that the first time it draws a map is slower then the second time. Am I wrong?

Thanks
Julien

PS: I also saw some documentation about a Google Summer of code project to cache the DataStore, but don't know if it was done or not.

--
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/

Julien-Samuel Lacroix ha scritto:

Thanks a lot for your answer. It helps sorting things out.

Is there any persistent connection mechanism then? I'm working with a PostGIS layer.

Yep, there is a connection pool that you configure when you
setup the postgis data store
Cheers
Andrea