code: function(name, value) {
          if (typeof value == 'undefined') {
            return this.cache_proxy.get(name);
          } else if ($.isFunction(value) && !this.cache_proxy.exists(name)) {
            return this.cache_proxy.set(name, value.apply(this));
          } else {
            return this.cache_proxy.set(name, value)
          }
        }
docs: cache is the main method for interacting with the cache store. The same method is used for both setting and getting the value. The API is similar to jQuery.fn.attr()  ### Examples  // setting a value cache('key', 'value');  // getting a value cache('key'); //=> 'value'  // setting a value with a callback cache('key', function() { // this is the app return app.element_selector; });