fix #249, cache the chunk headers info to +5% or +10% performance. 2.0.51