#Browser

Опубликовано: 25 Октябрь 2023
на канале: Tiny Frontend - 1 Minute Video Sharing
264
8

🎨✨ Read More ↓ ↓ ↓

Imagine this scenario:
You clicked on the browser's back button and returned to the previous long-list page.
But the page somehow got refreshed, and all your browsing position has been reset.
It's really an annoying thing whoever the user is.

The Back/forward cache is a #browser #optimization that significantly improves the browsing #experience focused on this scenario.
It's an in-memory cache that stores a complete snapshot of a page (including the JavaScript heap) as the user is navigating away.

The pageshow event fires right after the load event when the page is initially loading and any time the page is restored from #bfcache.
This is really useful if you want to reflect the changes users made before they came back.

#TinyFrontend #WebDevelopment #frontend #frontenddeveloper #frontenddev #frontenddevelopment #frontendwebdeveloper #frontendengineer #frontendengineering #frontendmasters #HTTP #JavaScript


Смотрите видео #Browser онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Tiny Frontend - 1 Minute Video Sharing 25 Октябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 264 раз и оно понравилось 8 людям.