[GIS] How to cache Geowebcache tiles from applications

geoservergeowebcachewms

I have enabled disk quota to cache tiles that produced by WMS. Geoserver admin panel Tile Caching->Tile Layers list of cached layers. I can preview here on a demo page.

http://localhost:8080/geoserver/gwc/demo/pgs:topas?gridSet=EPSG:4326&format=image/png

After preview I see that disk quate increased. This works fine.

I am using my layers on my OpenLayers application but used disk quata is not increasing.
application is using url: http://localhost:8080/geoserver/wms/.....
Used tiles are not inserting to disk. Why does not this?

(I have enable Tile Caching->Caching Defaults->Enable direct integration with GeoServer WMS)

Best Answer

The chances are your OpenLayers application is requesting data in as a regular WMS request.

The following options will let you fix it:

Related Question