mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -05:00
e44e958fe0
Instead of retrieving the permission from the session cookie, store permission data from /session/, and cache it in a cookie. On subsequent page loads, the permission information will be retrieved from the cookie more quickly than the /session/ endpoint returns. When the session changes, the cookie and permissions state is updated to reflect the new state. |
||
---|---|---|
.. | ||
conference-details.js | ||
conference-schedule.js | ||
permissions.js | ||
reducer.js | ||
session.js |