Using hash to create locks instead of using the actual URL