- // Check the cache to see if we have a "last-known-good" version.
- // The actual cache gets blown away when new notices are added, but
- // the "last" value holds a lot of info. We might need to only generate
- // a few at the "tip", which can bound our queries and save lots
- // of time.
+ if ($this->useLast) {
+ // Check the cache to see if we have a "last-known-good" version.
+ // The actual cache gets blown away when new notices are added, but
+ // the "last" value holds a lot of info. We might need to only generate
+ // a few at the "tip", which can bound our queries and save lots
+ // of time.