GShape caching