refactored post grabbing/cache