Issue #2348679 by znerol, Wim Leers: Move the remaining procedural page cache code to the page cache stack middleware