Set page cache directory to public

This should match existing behavior on production site
Pages need to be sorted when updating page map

*Most* of the time they're naturally in order, but we can't depend on it in
the cases of a doc where pages were added/removed