Server Cache

Loading "Server Cache"
๐Ÿ‘จโ€๐Ÿ’ผ As the user selects different ships, we cache the promise in our getShip utility. But if they refresh the page, the cache is lost. Our ship data doesn't change much so we could have the user's browser cache the ship details for a while to make the data persist across page refreshes.
Please add a Cache-Control header to for both our API endpoints.
Login to get access to the exclusive discord channel.
  • General
    Welcome to EpicReact.dev! Say Hello ๐Ÿ‘‹
    Kent C. Dodds โ—† ๐Ÿš€๐Ÿ†๐ŸŒŒ:
    Welcome to the first of many posts in the EpicReact.dev channel! Take a moment to introduce yourself...
    0 ยท 4 days ago