Add caching as an optional parameter to data stores

Optimize WFS queries