Everything-Explained / evex-client

The SPA that is served by the web server for Everything Explained.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Use cookie for user authentication and CMS version update #45

Open Jaeiya opened 3 years ago

Jaeiya commented 3 years ago

Currently there's an auth route which handles setting up the user for the first time and keeping track of the CMS version for cache-busting our dynamic pages. Unfortunately there's a lot of overhead using this technique:

If we use a cookie for this information, we get the following benefits:

There are in fact no downsides to using cookies for this process, other than the idea that a cookie is being used at all. Unfortunately most people have bad connotations with the idea of cookies, because they've been used to track users activities from site to site; this is not our goal. Cookies are simply a more efficient way to manage user interaction with the site.

Jaeiya commented 3 years ago

I'm going to postpone this to a different release when I feel comfortable with my database solution research.

Jaeiya commented 3 years ago

Add "New" notification for Video/Literature sections

Jaeiya commented 3 years ago

Use Cookies for Authentication