add HOST and PORT to feed cache key
remove rendundant line
add security character '$' around REMOTE_USER in cache key to avoid key clashes