CacheWatch for jQuery API on jQuery var cacheWatch = $('body|html').cache(); // More Code cacheWatch.ready(); Look the body <body|html ... data-ready="loading|ready">