[Geoserver-users] Why tile cache is not being generated ?

Hello there,

I’m doing tests with geoserver, preparing to publish some information. It seems that it’s not producing and storing the tiles cache under certain circumstances :

I created a new gridset and zoom levels (EPSG: 29193), created a imagemosaic resource and finally a layer associated with the mosaic. If I click on “layer preview”, after using it for some minutes, the tile cache is never created. By the other hand, if I click on “Tile Caching → Tile Layers → Preview” (on the layer I created), preview screen show what’s going on and the cached tiles are created, the cache folder is created and everything is fine.

Why it doesn’t create the cache by issuing “layer preview” from geoserver interface?
The use of cached tiles is something that must be set on client side also? If this is true, in the case of geoserver system the “layer preview” is not explicitly requesting cached tiles, thus, not being generated server side?

Thanks,
Rodrigo N Hernandez

Is there a problem with geoserver.org ?

I am getting;

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.

Reason: Error reading from remote server

Hi Russ,
Yep, I’ve been getting that on and off myself today too. Seems to be intermittent.
I believe the devs are considering moving the web-hosting in the near(ish?) future to github to try and alleviate these issues.

Cheers,
Jonathan

This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

On 13 May 2014 14:11, Russell Hore <russ@…4690…> wrote:

Is there a problem with geoserver.org ?

I am getting;

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.

Reason: Error reading from remote server


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Rodrigo,
When using Layer-Preview page, you’re most likely making a request of the GeoServer WMS.
The URL will be something like:
www.example.com/geoserver/wms?service=WMS.

However, when you use the tile-Cache page, you’re making a request of the integrated GWC I think:
www.example.com/geoserver/gwc/service/wms?service=WMS.

The later does the caching, the former not so much. Or at least that would seem to be how it works to me.

Cheers,
Jonathan

This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

On 13 May 2014 12:39, Rodrigo Nascimento Hernandez <rodrigo@anonymised.com> wrote:

Hello there,

I’m doing tests with geoserver, preparing to publish some information. It seems that it’s not producing and storing the tiles cache under certain circumstances :

I created a new gridset and zoom levels (EPSG: 29193), created a imagemosaic resource and finally a layer associated with the mosaic. If I click on “layer preview”, after using it for some minutes, the tile cache is never created. By the other hand, if I click on “Tile Caching → Tile Layers → Preview” (on the layer I created), preview screen show what’s going on and the cached tiles are created, the cache folder is created and everything is fine.

Why it doesn’t create the cache by issuing “layer preview” from geoserver interface?
The use of cached tiles is something that must be set on client side also? If this is true, in the case of geoserver system the “layer preview” is not explicitly requesting cached tiles, thus, not being generated server side?

Thanks,
Rodrigo N Hernandez


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

You can set the GeoServer WMS endpoint to use GWC when the request is cachable by enabling “Direct Integration” (http://docs.geoserver.org/stable/en/user/geowebcache/using.html#direct-integration-with-geoserver-wms). If the request can’t be cached, it will still default to the standard behaviour and be rendered by GeoServer directly.

This can be tricky with custom gridsets as OpenLayers doesn’t know how to get the grid information from a WMS-C GetCapabilities document and has to be told how the tiles are set up manually unless using a standard tiling (like the standard Web Mercator tiling) So even if you have direct integration on, and you are using it in tiled mode, the layer preview may not hit the cache because the requests wont line up with the tiles GWC is caching. The GWC previews specifically tell OpenLayers how the tiling works and so they don’t have this problem.

···

On 13 May 2014 06:39, Jonathan Moules <jonathanmoules@anonymised.com> wrote:

Hi Rodrigo,
When using Layer-Preview page, you’re most likely making a request of the GeoServer WMS.
The URL will be something like:
www.example.com/geoserver/wms?service=WMS.

However, when you use the tile-Cache page, you’re making a request of the integrated GWC I think:
www.example.com/geoserver/gwc/service/wms?service=WMS.

The later does the caching, the former not so much. Or at least that would seem to be how it works to me.

Cheers,
Jonathan

This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Kevin Smith

Junior Software Engineer | Boundless

ksmith@anonymised.com

+1-778-785-7459

@boundlessgeo

On 13 May 2014 12:39, Rodrigo Nascimento Hernandez <rodrigo@anonymised.com> wrote:

Hello there,

I’m doing tests with geoserver, preparing to publish some information. It seems that it’s not producing and storing the tiles cache under certain circumstances :

I created a new gridset and zoom levels (EPSG: 29193), created a imagemosaic resource and finally a layer associated with the mosaic. If I click on “layer preview”, after using it for some minutes, the tile cache is never created. By the other hand, if I click on “Tile Caching → Tile Layers → Preview” (on the layer I created), preview screen show what’s going on and the cached tiles are created, the cache folder is created and everything is fine.

Why it doesn’t create the cache by issuing “layer preview” from geoserver interface?
The use of cached tiles is something that must be set on client side also? If this is true, in the case of geoserver system the “layer preview” is not explicitly requesting cached tiles, thus, not being generated server side?

Thanks,
Rodrigo N Hernandez


“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users