User defined Client cache browser-side for layers

Set the expiration time in seconds if set by the plugin.
This improve perfs a lot, because no request is made by the client for the same image if the browser has it in Cache and the image has not yet expired