refactoring chache fragments on main page