A helper function to create preloaded page cache.