From 4f38b77ef6c9a2266ea07303707d575d7bba9ba8 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 25 Dec 2015 09:34:37 +0100 Subject: [PATCH] Better caching. --- app/Repositories/Account/AccountRepository.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Repositories/Account/AccountRepository.php b/app/Repositories/Account/AccountRepository.php index 1dfa4d133c..2668c85938 100644 --- a/app/Repositories/Account/AccountRepository.php +++ b/app/Repositories/Account/AccountRepository.php @@ -158,6 +158,7 @@ class AccountRepository implements AccountRepositoryInterface $cache->addProperty($account->id); $cache->addProperty($start); $cache->addProperty($end); + $cache->addProperty('frontpage-transactions'); if ($cache->has()) { return $cache->get(); // @codeCoverageIgnore }