Cache profiles for 300 seconds.