docbrown/app/lib
Mike Coutermarsh 9f983e271c Increase cache TTL for social preview images (#5471) [deploy]
* Increase cache TTL for social preview images

These are expensive to generate + don't change often. We can have a long cache.

Ideally, they would never expire, and get auto evicted by redis when space fills up. But I don't think a `nil` ttl is possible when a default
is set in the Rails config (see production.rb).

So I set it to a real long value. + test to guard against it accidently being changed.

* Try a cache expiration of 6.weeks as suggested by @mstruve in PR
2020-01-17 17:06:06 -05:00
..
acts_as_taggable_on Fix non-english characters delete on tags (#2579) 2019-04-29 17:33:14 -04:00
redcarpet/render Prepend non-url paths with https://dev.to (#4306) 2019-10-11 12:34:42 -04:00
reverse_markdown/converters Allow language-xxx class detection on pre tags in ReverseMarkdown (#5299) 2020-01-02 11:23:44 -05:00
constants.rb Add fosstodon to mastadon whitelist (#4992) 2019-12-03 08:50:20 -05:00
html_css_to_image.rb Increase cache TTL for social preview images (#5471) [deploy] 2020-01-17 17:06:06 -05:00