Be smarter about deciding cacheability