I am creating a web system, and I would like to ensure that my pages load as youtube does, or easy code, that the footer and the menu or other sections remain the same, they do not reload, only the main part and the url change, I would like to achieve this Could someone tell me with what technology, library or method? Thanks in advance.
Short answer, using Ajax you can reload any part of the page by getting HTML snippets from the server or getting information in some format like JSON, XML and generate the HTML code on the client via javascript.
Long answer, what you see on youtube is not a simple effect, Youtube, Facebook, Soundcloud are what is known as Single Page Applications, these pages use client-side frameworks that allow a web application to work on a single page without reload the entire page, there are many frameworks that allow you to do this, for example Angular, Backbone, Meteor etc. or what is fashionable React, React-router and Redux/Flux, all these frameworks use the PushState implementation introduced in HTML 5 that exposes an API implemented in browsers that allows you to control the history,