If I understand your question, you need to explicitly enable this in your
GWC instance in order to allow GWC to cache alternate parameters.  You do
this by using the stringParameterFilter, e.g.

 
<wmsUrl><string>http://192.168.100.5:8080/geoserver/wms</string></wmsUrl>
                <parameterFilters>
                  <regexParameterFilter>
                    <key>format_options</key>
                    <defaultValue></defaultValue>
                    <regex>dpi:*</regex>
                  </regexParameterFilter>
                </parameterFilters>
    <wmsLayers>contours_2_all</wmsLayers>

You can check out the document on geowebcache.org for more.

Best,
Steve

Stephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243
[email protected]
clevelandmetroparks.com




-----Original Message-----
From: Ariel Falduto [mailto:[email protected]] 
Sent: Friday, June 15, 2012 5:36 PM
To: [email protected]
Subject: [Geoserver-users] viewparams + gwc

Hi guys, 

its possible to use view parameters (viewparams) in conjunction with
geowebcache (gwc) or it impossible ??

im using a layer from SQL view and took parameters dynamically ... 

--
Ariel Falduto
[email protected]





----------------------------------------------------------------------------
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to