[#33623] Improve static keeping of the views

Replaces https://github.com/joomla/joomla-cms/pull/3462 
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33623&start=0