title: How can I manage what data is synced to a Meteor client's cache?
body: <p>I modified the leaderboard example to use two collections:</p>
  
  <pre><code>Players = new Meteor.Collection("players");
  Tasks = new Meteor.Collection("tasks");
  </code></pre>
  
  <p>The Players collection has the 6 documents defined in the example.</p>
  
  <pre><code>&gt; db.players.count()
  6
  </code></pre>
  
  <p>The Tasks collection has 48,000 documents.</p>
  
  <pre><code>&gt; db.tasks.count()
  48000
  </code></pre>
  
  <p>As soon as I open the browser, Node jumps to 100% CPU and the client can't see any of the tasks records.</p>
  
  <pre><code>Players.find().count()
  6
  Tasks.find().count()
  0
  </code></pre>
  
  <p>I tried defining query criteria but that only works on the server and doesn't help on the client.</p>
  
  <pre><code>Players.find({name:"Claude Shannon"}).count();
  1
  Tasks.find({tid:"t36254"}).count();
  0
  </code></pre>
  
  <p>I'm guessing that 48,000 documents is too much to sync.  That's causing Node to peg at 100% CPU and the client to throw errors like this: <a href="http://i.imgur.com/zPcHO.png">http://i.imgur.com/zPcHO.png</a>.</p>
  
  <p>How do I prevent syncing everything and only retrieve specific documents from the collection?</p>