mastodon/app
David Yip 8fc54890e5 Prefix cache keys with the matcher type. #208.
We already know about one regex limitation, which is that they cannot
segment words in e.g. Japanese, Chinese, or Thai.  It may also end up
that regex matching is too slow compared to other methods.

However, the regex is an implementation detail.  We still want the
ability to switch between "occurs anywhere" and "match whole word", and
caching the matcher result is likely to still be important (since the
matcher itself won't change nearly as often as status ingress rate).
Therefore, we ought to be able to change the cache keys to reflect a
change of data structure.

(Old cache keys expire within minutes, so they shouldn't be too big of
an issue.  Old cache keys could also be explicitly removed by an
instance administrator.)
2017-11-15 18:12:31 -06:00
..
controllers Updates per code review 2017-11-11 14:37:23 -06:00
helpers Merge branch 'master' into gs-master 2017-10-27 09:45:25 -05:00
javascript Merge pull request #212 from aschmitz/feat/mute-reblogs 2017-11-15 12:01:17 -05:00
lib Match keyword mute filter on hashtags. #208. 2017-11-15 18:12:29 -06:00
mailers Supply @instance variable in password reset instructions / password change mailer (#5215) 2017-10-04 13:25:24 +02:00
models Prefix cache keys with the matcher type. #208. 2017-11-15 18:12:31 -06:00
policies try to tighten up local only toot stuff, like... properly (#163) 2017-10-09 09:56:17 -04:00
presenters Merge commit 'b9f59ebcc68e9da0a7158741a1a2ef3564e1321e' into merging-upstream 2017-09-28 09:18:35 +02:00
serializers Merge branch 'master' into gs-master 2017-10-27 09:45:25 -05:00
services Updates per code review 2017-11-11 14:37:23 -06:00
validators Merge upstream 2.0ish #165 2017-10-11 10:43:10 -07:00
views Merge branch 'master' into gs-master 2017-10-27 09:45:25 -05:00
workers Clean up reblog tracking keys, related improvements (#5428) 2017-10-17 11:45:06 +02:00