-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Image signing #4148
Image signing #4148
Conversation
Generated by 🚫 dangerJS |
|
Investigating why e2e are mostly failing... |
|
Somehow something in this PR is causing an infinite loop to be triggered on channel settings views. I'm at a loss for why, but will figure this out tomorrow when I have more energy . |
|
Ah, I figured it out. ccing @mxstbr for some brain juice on this. The problem is that when we sign image urls we are attaching an expiration timestamp. If that expiration timestamp changes during the same request, it blows up Apollo and causes infinite refetches. Seems like the solution to this will be to have a single expiration time per request that gets set on all resolved images...perhaps this could be achieved by setting an |
Ugh, I tried this but it still breaks because of Apollo's caching mechanism detecting changes between api requests and infinitely reloading. Next thing to try would be futzing with Apollo's caching options to ignore |
|
Uhhhh...it's entirely possible that this breaks SSR entirely, as well. Shit. |
mxstbr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
YAS
|
Finally lol |
Status
Deploy after merge (delete what needn't be deployed)