prepare to load posts in memory at startup