Pla 1641

Added "ref" support as optional url parameter
WAIT FOR QA
Maybe WAM_RESPONSE_CACHE_VALIDITY would be less generic and thus more explicit?