title: Load data in background once initial website is loaded
body: <p>I have a feed with posts and comments.</p>
  
  <p>I only show the last 5 comments and the other are css-hidden, they are revealed when clicking on "Show all comments".</p>
  
  <p>Currently my thinking is to fetch those comments (ajax) when the "Show" link is clicked.</p>
  
  <p>Is there any way to load those comments in the background automatically, immediately after the initial page has loaded?</p>
  
  <p><strong>Update</strong></p>
  
  <pre><code>&lt;div class='container'&gt;
      &lt;div class='post'&gt;This is a post&lt;/div&gt;
      &lt;div class='comment hidden'&gt;This is a comment&lt;/div&gt; # To load asynchronously
      &lt;div class='comment hidden'&gt;This is a comment&lt;/div&gt; # To load asynchronously
      &lt;div class='comment hidden'&gt;This is a comment&lt;/div&gt; # To load asynchronously
      &lt;div class='comment hidden'&gt;This is a comment&lt;/div&gt; # To load asynchronously
      &lt;a href='#'&gt;Show all comments&lt;/a&gt;
      &lt;div class='comment'&gt;This is a comment&lt;/div&gt;
      &lt;div class='comment'&gt;This is a comment&lt;/div&gt;
      &lt;div class='comment'&gt;This is a comment&lt;/div&gt;
      &lt;div class='comment'&gt;This is a comment&lt;/div&gt;
      &lt;div class='comment'&gt;This is a comment&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>