Hello,
I let the users change the website settings(webbrowser based settings). Thing is that every single time a webbrowser with saved settings visits my website, a db connection/request is being done. I dont think this would work if the website gain alot of users. Do you have any solution for me?
This is how it work:
- I have a standard setting which does not require any DB request.
- If the user choose to change the settings, the browser of the user get an token inside a cookie. The setting-data is saved to a json-object which get saved in my DB. So is also the token.
- Every single time this webbrowser visits my website(and every single time index. is refreshed), I check for the token-cookie.If it exist, then I connect/make a request to my db to get the settings