better handling of params, per application caching