Add location param to cache configuration