Moved getAttribute(s) methods to the core and fixed a small bug in pages caching