function checkCache(res) {
    assert.ok(res.headers.hasOwnProperty('x-cache-channel'));
    assert.ok(res.headers.hasOwnProperty('cache-control'));
    assert.ok(res.headers.hasOwnProperty('last-modified'));
}
/**
 * Check that the response headers do not request caching
 * @see checkNoCache
 * @param res
 */
Check that the response headers do not request caching
@see checkNoCache
@param res
Check that the response headers do not request caching @see checkNoCache @param res
function checkCache(res) {
    assert.ok(res.headers.hasOwnProperty('x-cache-channel'));
    assert.ok(res.headers.hasOwnProperty('cache-control'));
    assert.ok(res.headers.hasOwnProperty('last-modified'));
}
function checkCache ( res ) { assert . ok ( res . headers . hasOwnProperty ( 'x-cache-channel' ) ) ; assert . ok ( res . headers . hasOwnProperty ( 'cache-control' ) ) ; assert . ok ( res . headers . hasOwnProperty ( 'last-modified' ) ) ; }
Check that the response headers do not request caching
 @see checkNoCache
 @param res
Check that the response headers do not request caching @see checkNoCache @param res