docbrown/app/views
Mike Coutermarsh 8afb797ec9 Improve social card caching 🚀 (#3265)
* Add failing tests for social previews controller. HTML changes between
requests, which breaks caching.

Since we use the HTML to generate the cache key. When the views have any
randomness in them, it breaks the cache, which means we regenerate
images on each request, rather than using what's in memcached.

Adding test to protect from regressions

* Fix randomness in social card templates

The aria tags are randomly generated. Since this is for rendering
images, they aren't needed.

* Make the linter happy by using the sanitize helper
2019-06-25 08:45:30 -04:00
..
additional_content_boxes Add loading='lazy' attribute to some images (#2776) 2019-05-09 16:37:06 -04:00
admin/application Last general linting sweep (#1947) 2019-03-02 07:47:14 -08:00
api/v0 Refactor: fix issues raised by bullet (#2965) 2019-05-28 17:32:53 -04:00
articles Add pinned articles box to profiles (#3269) 2019-06-24 15:18:29 -04:00
badges Add alternative texts to images (#2771) [ci skip] 2019-05-09 11:16:03 -04:00
blocks Add SRI to script tags where applicable (#2153) 2019-03-22 14:14:59 -04:00
chat_channels [WIP] Connect misc improvements/debugs (#2880) 2019-05-20 10:08:51 -04:00
classified_listings Manage listings as organization admin (#3228) 2019-06-20 09:39:54 -04:00
comments Comments: remove double stripping undoing escaping (#3270) 2019-06-24 12:00:36 -04:00
credits Finalize multi-org features (#3041) 2019-06-04 13:56:22 -04:00
dashboards Add pinned articles box to profiles (#3269) 2019-06-24 15:18:29 -04:00
devise Add alternative texts to images (#2771) [ci skip] 2019-05-09 11:16:03 -04:00
email_subscriptions Fix linting issues in app/views/email_subscriptions (#1859) [ci skip] 2019-02-25 12:50:41 -05:00
events Further generalize pages and site Twitter handle (#3177) 2019-06-16 00:59:11 -04:00
feedback_messages Add report abuse link to listings (#2684) 2019-05-04 09:06:42 -04:00
fields Add alternative texts to images (#2771) [ci skip] 2019-05-09 11:16:03 -04:00
giveaways Further generalize pages and site Twitter handle (#3177) 2019-06-16 00:59:11 -04:00
history Pro: History (#3220) 2019-06-18 14:58:24 -04:00
homepage Stories views reorganization (#1317) 2018-12-13 14:54:02 -05:00
html_variants Add minimal light theme (#3179) 2019-06-16 01:37:34 -04:00
internal Remove code for legacy mentoring feature (#3186) 2019-06-21 17:18:11 -04:00
layouts Pro: History (#3220) 2019-06-18 14:58:24 -04:00
liquids Beta polls feature (admin use only for now) (#3176) 2019-06-15 17:33:30 -04:00
mailers Remove code for legacy mentoring feature (#3186) 2019-06-21 17:18:11 -04:00
moderations Refactor: fix issues raised by bullet (#2965) 2019-05-28 17:32:53 -04:00
notifications Comments: remove double stripping undoing escaping (#3270) 2019-06-24 12:00:36 -04:00
organizations Add organization liquid tag (#3203) 2019-06-17 13:47:42 -04:00
pages Further generalize pages and site Twitter handle (#3177) 2019-06-16 00:59:11 -04:00
podcast_episodes Add alternative texts to images (#2771) [ci skip] 2019-05-09 11:16:03 -04:00
reading_list_items Improve reading list (#2695) 2019-05-05 19:19:30 -04:00
social_previews Improve social card caching 🚀 (#3265) 2019-06-25 08:45:30 -04:00
stories Change design of main feed CTA and remove from tag pages (#3050) 2019-06-05 14:33:22 -04:00
stripe_subscriptions Last general linting sweep (#1947) 2019-03-02 07:47:14 -08:00
tags [WIP] Move both v1 and v2 editor to v2 preact-driven editor (#2797) 2019-05-13 12:27:36 -04:00
twitch_live_streams Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
users Add pinned articles box to profiles (#3269) 2019-06-24 15:18:29 -04:00
videos Unskip all skipped specs (#2941) 2019-05-25 11:04:38 -04:00