canvas-lms/app
Xander Moffatt 735cbddf49 cache LTI postMessage forwarding frame
why:
* this gets loaded on every page and the HTML
isn't currently cached at all
* cache for a day to start

closes INTEROP-8276
flag=lti_platform_storage

test plan:
* enable the lti_platform_storage flag
* open the browser network tools and filter by
post_message_forwarding
* load and reload a canvas page a couple of times
* this page should be cached after the first time
* check the Cache-Control response header
* it should have 86400 in it
* bonus:
  * open a rails console and run
  `Setting.set('post_message_forwarding_ttl', 2.days.seconds.to_s)`
  * restart your canvas
  * disable the network cache briefly to request the page again
  * enable cache again
  * check the Cache-Control header on the page
  * it should have 172800 in it now

Change-Id: I6f9387a92ba56a1825284abb0ead3369e4c83e90
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/330965
Reviewed-by: Evan Battaglia <ebattaglia@instructure.com>
QA-Review: Evan Battaglia <ebattaglia@instructure.com>
Product-Review: Xander Moffatt <xmoffatt@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2023-10-23 22:08:21 +00:00
..
controllers cache LTI postMessage forwarding frame 2023-10-23 22:08:21 +00:00
graphql handle nil participants for anonymous discussions 2023-10-19 19:59:51 +00:00
helpers display minus instead of en-dash 2023-10-09 16:24:10 +00:00
messages Introduce the concept of impaired SMS regions 2023-08-25 15:52:32 +00:00
middleware bundle update redis 2023-09-28 15:49:47 +00:00
models support announcing when nq trigger migration is done 2023-10-23 21:04:20 +00:00
observers announce quizzes locked/unlocked on LiveEvents 2022-08-18 17:53:37 +00:00
presenters bundle update rubocop 2023-10-11 14:30:59 +00:00
serializers bundle update active_model_serializers 2023-08-30 21:14:06 +00:00
services aggregate checkpoint submissions' grade attrs 2023-10-23 16:11:29 +00:00
stylesheets add/remove fieldsets on assignment edit page 2023-10-19 15:50:01 +00:00
views remove redirect from LTI platform storage frame 2023-10-18 21:33:32 +00:00