Title: The static cache for group policy settings should be cleared when GP settings change · Issue #5804 · PowerShell/PowerShell · GitHub
Open Graph Title: The static cache for group policy settings should be cleared when GP settings change · Issue #5804 · PowerShell/PowerShell
X Title: The static cache for group policy settings should be cleared when GP settings change · Issue #5804 · PowerShell/PowerShell
Description: Open the issue per the ask from #5791 (comment): We use a static concurrent dictionary s_cachedPoliciesFromRegistry as a cache for group policy settings retrieved from the registry (in Utils.cs). We should register for GP change notifica...
Open Graph Description: Open the issue per the ask from #5791 (comment): We use a static concurrent dictionary s_cachedPoliciesFromRegistry as a cache for group policy settings retrieved from the registry (in Utils.cs). W...
X Description: Open the issue per the ask from #5791 (comment): We use a static concurrent dictionary s_cachedPoliciesFromRegistry as a cache for group policy settings retrieved from the registry (in Utils.cs). W...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/5804
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The static cache for group policy settings should be cleared when GP settings change","articleBody":"Open the issue per the ask from https://github.com/PowerShell/PowerShell/pull/5791#discussion_r160009528:\r\n\r\nWe use a static concurrent dictionary `s_cachedPoliciesFromRegistry` as a cache for group policy settings retrieved from the registry (in [`Utils.cs`](https://github.com/PowerShell/PowerShell/blob/master/src/System.Management.Automation/engine/Utils.cs)).\r\nWe should register for GP change notification using [`RegisterGPNotification`](https://msdn.microsoft.com/en-us/library/windows/desktop/aa374404(v=vs.85).aspx), so that we can clear the cache when GP changes.\r\n\r\n ","author":{"url":"https://github.com/daxian-dbw","@type":"Person","name":"daxian-dbw"},"datePublished":"2018-01-06T01:11:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/5804/PowerShell/issues/5804"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e53b6626-29c1-c25c-ccf6-461bb9382cc4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 964A:26F5D4:14DBF39:1E684A4:6A562145 |
| html-safe-nonce | 8fc44c40be1fa6a50bcf1fddebdfa7427dce6f33cc415722cfbca97f2dc41955 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjRBOjI2RjVENDoxNERCRjM5OjFFNjg0QTQ6NkE1NjIxNDUiLCJ2aXNpdG9yX2lkIjoiOTEwMTc5NjQ2NTI3MDIwMjY5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 606eadf6c493b76e46e9bf5055240dff150d0382bfd6213e8ad2e014fed5dcf5 |
| hovercard-subject-tag | issue:286446435 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/5804/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e15985f47b151df470e64d91183d0d829b9dbe10fb4404363354ed92f90b23ce/PowerShell/PowerShell/issues/5804 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e15985f47b151df470e64d91183d0d829b9dbe10fb4404363354ed92f90b23ce/PowerShell/PowerShell/issues/5804 |
| og:image:alt | Open the issue per the ask from #5791 (comment): We use a static concurrent dictionary s_cachedPoliciesFromRegistry as a cache for group policy settings retrieved from the registry (in Utils.cs). W... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daxian-dbw |
| hostname | github.com |
| expected-hostname | github.com |
| None | eeb71977be324ce2bc7c4afd597296b8e3527d8922ad94632edd7a7296f8031b |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3e7957744c8a44d05ff1e464dc5d119e60b98fae |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width