Refactorings in the page CacheBuilder

This refactoring contains some rename variables and extract method and
property.