The benefit gained by statically caching the views bookmark counts can far outweigh the the 1K of memory it takes to save the result of a SQL query on the count. Since this is a "public" API, it's unknown if the user will execute it multiple times in one request. Let's cache the results to avoid duplicate SQL queries.
| Comment | File | Size | Author |
|---|---|---|---|
| views_bookmark_cache.patch | 1.68 KB | quicksketch |
Comments
Comment #1
quicksketchCommitted.
Comment #2
(not verified) commented