added cache key method for posts to handle posts with invoices