Commit 2bbf4ba
authored
Change cache key for getIdentityFlagsFromApi (#62)
* Change cache key for getIdentityFlagsFromApi
getIdentityFlagsFromApi should not be using the Global cache key prefix
* 🔧 chore(composer.json): enable php-http/discovery plugin to allow automatic discovery of HTTP clients
🐛 fix(Flagsmith.php): add cache key generation for identities to improve caching efficiency
🐛 fix(IdentitiesGenerator.php): add method to generate cache key for identities based on identifier and traits to ensure uniqueness1 parent acf5e5c commit 2bbf4ba
3 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| 433 | + | |
433 | 434 | | |
434 | | - | |
| 435 | + | |
435 | 436 | | |
436 | 437 | | |
437 | 438 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
22 | 28 | | |
0 commit comments