Skip to content

Commit

Permalink
feat(cache): remove cache operator
Browse files Browse the repository at this point in the history
Because of all of the confusion around the `cache` operator, this removes the operator
from RxJS head of the 5.0.0 release. This is done for a few reasons\:

1. The name `cache` implies it supports all sorts of caching strategies, when this is pretty limited
2. Behavior around unending and hot observables is hard to reason about
3. Once we have a properly designed `cache` operator we can add it at a later time and it will not be a breaking change
  • Loading branch information
benlesh committed Oct 6, 2016
1 parent 5448f87 commit 8b347ce
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 297 deletions.
222 changes: 0 additions & 222 deletions spec/operators/cache-spec.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/Rx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ import './add/operator/bufferCount';
import './add/operator/bufferTime';
import './add/operator/bufferToggle';
import './add/operator/bufferWhen';
import './add/operator/cache';
import './add/operator/catch';
import './add/operator/combineAll';
import './add/operator/combineLatest';
Expand Down
11 changes: 0 additions & 11 deletions src/add/operator/cache.ts

This file was deleted.

63 changes: 0 additions & 63 deletions src/operator/cache.ts

This file was deleted.

0 comments on commit 8b347ce

Please sign in to comment.