title: Cache content loaded via AJAX in Fancybox
body: <p>Due to performance optimization I want to prevent users from reload fancyboxes they already loaded once. This is my code:</p>
  
  <pre><code>        $(document).ready(function() {
              $(".fancybox-effects").fancybox({
                  type       : 'ajax',
                  wrapCSS    : 'fancybox-custom'
              });
          });
  </code></pre>
  
  <p>Adding this:</p>
  
  <pre><code>            $.ajaxSetup({ cache: true });
  </code></pre>
  
  <p>to the document.ready function doesn't help. Any ideas?</p>