Feature Policy allows developers to selectively enable, disable, and modify the behavior of certain APIs and features in the browser. It's like CSP, but for features! Shipped in Chrome 60.

seen from China

seen from Malaysia

seen from Malaysia

seen from Brazil
seen from China
seen from China
seen from Syria

seen from Jordan
seen from Israel

seen from Italy
seen from Canada
seen from Belgium

seen from China
seen from United Kingdom
seen from Yemen

seen from United States
seen from China
seen from China
seen from Costa Rica
seen from United States
Feature Policy allows developers to selectively enable, disable, and modify the behavior of certain APIs and features in the browser. It's like CSP, but for features! Shipped in Chrome 60.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Pros and Cons of Feature Flags
Imagine you have a building. Some spaces are open and interconnected and anyone can move freely between them. Other spaces have doorways between them that restrict access. You can open and close the doors to control who goes where. Some doors require a key to get in. Feature flags are like doors in a building. It would be wasteful clutter to put them everywhere, but when they’re placed strategically and when they’re well designed, they can be helpful.
Pros
Dark deploys: push code without users seeing it
Partial rollouts: beta test risky things
A/B testing: try things and see what works
Easy rollback: did something break? Just turn it off!
Easier merges: feature flags > long running branches
User segmentation: custom feature sets for different users
Feature dashboards: let stake holders decide when to turn something on
Cons
Extra process: get ready to add 2-4 toggle related tasks to your to-do list
Tech debt: the longer your toggles live in the code the more they cost
Ugly code: feature toggles always feel messy
Non-core value: people go to the circus to see the trapeze, not to see the safety net
Easy to misuse and abuse: toggles are like beer. The first few taste good. You’ll probably regret the tenth
Leaky features: toggle logic is code that can contain bugs just like any other code
Exponential testing: if you have features A, B & C, how many combinations are there?