[Geoprisma-dev] Caching for the Proxy

Alexandre Dube adube at mapgears.com
Tue Dec 8 11:16:10 EST 2009


Yves Moisan wrote:
> I was looking at the patch now with Pascal and one thing which annoyed
> me is that currently if you turn caching on it will cache both TC and
> WMS services.  Also, it is not possible to set different caching lengths
> for a TC and a WMS.
>
> We thought of two alternatives :
>
> - add a variable in the driver directly to allow separate caching of WMS
> and TC (e.g. "private static $s_bCaching     = false;" in
> BoealisACL.php) to allow caching or not of WMS and TC (e.g.
> $s_bWMSCaching, $s_bTileCacheCaching)
>
> - add new functionality to the datastore, e.g. 
> <caching>
> <timeout>
>
> The second option would relieve users from configuring client-side
> caching in the php code and they would moreover allow users to easily
> switch caching on/off or set different times to particular datastores.
> That is individual data sets could be controlled and not only WMS ot TC
> service types.
>
> What do you think ?
>   

Makes sense to me.  I'll come up with an other patch in the following days.

Thanks for the review,

-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Geoprisma-dev mailing list