page cache improvements:
    - moved flags down
    - added flag for not updating page access stats and added test
Merge pull request #2682 from steps/master

page cache improvements: