As each time a query is made to any collection I need to check the user permission, this means that on each query in the application I need to do additional query which is redundant as the user permission does not change and it is enough to store it in memory (cache) and use it when required. This is a well know paradigm in web application architecture. I think there’s a cache mechanism for collection but not sure about it…
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| back-end cache service available for all user sessions | 0 | 173 | October 6, 2019 | |
| Security in databases | 5 | 999 | June 12, 2018 | |
| Limit collection access to be only from backend | 2 | 260 | October 9, 2017 | |
| wixData.query is only working on front end, not on backend | 1 | 594 | November 24, 2017 | |
| Cache interval on Data Collections | 0 | 164 | April 23, 2018 |