     }
     
     override func viewWillTransitionToSize(size: CGSize, withTransitionCoordinator coordinator: UIViewControllerTransitionCoordinator) {
+        cellHeightCache.removeAll(keepCapacity: true)
         super.viewWillTransitionToSize(size, withTransitionCoordinator: coordinator)
     }
 

            moreAction.backgroundColor = style.redditOrangeRedColor
            
            let commentsTitle = "\(link.commentCount)\nComments"
            var commentsAction = UITableViewRowAction(style: .Normal, title: commentsTitle) { [weak self] (action, indexPath) -> Void in
                tableView.editing = false
                self?.showCommentsForLink(link)
            }
            commentsAction.backgroundColor = style.redditUITextColor
            
            var voteAction = UITableViewRowAction(style: .Normal, title: "Vote") { (action, indexPath) -> Void in
                tableView.editing = false
                let actionSheet = UIActionSheet(title: "Vote", delegate: self, cancelButtonTitle: "Cancel", destructiveButtonTitle: nil, otherButtonTitles: "Upvote", "Downvote", "Clear Vote")
                actionSheet.showInView(self.view)

        tableView = UITableView()
        view = tableView
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()

