]> cat aescling's git repositories - mastodon.git/commit
Add entity cache (#7271)
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 26 Apr 2018 23:38:10 +0000 (01:38 +0200)
committerGitHub <noreply@github.com>
Thu, 26 Apr 2018 23:38:10 +0000 (01:38 +0200)
commita872392cd958167d5d9dd3fef613415cc9068774
treeb062e9d8c7e87c29c74fb5416f3f60f39a172301
parent63553c6b5c927950a45c5acb5af32af0dacee8c9
Add entity cache (#7271)

* Add entity cache

Use a caching layer for mentions and custom emojis that are
dynamically extracted from text.

Reduce duplicate text extractions

* Fix code style issue
app/lib/entity_cache.rb [new file with mode: 0644]
app/lib/formatter.rb
app/models/account.rb
app/models/custom_emoji.rb
app/models/status.rb