Page lookup cache prefix fix for 2.4.x

Back-port of #2899 to 2.4.x