May be you are asking about off page and on page. As it is impossible to do optimization offline.