Похожие чаты

But is there any way i can wipe out the

old content of browser and set new content without page reload?

12 ответов

17 просмотров

The browser will do it automatically on a full page reload

If you want to do a partial reload use a framework like HTMX

MG- Автор вопроса
Roman Sharkov
The browser will do it automatically on a full pag...

yes that automatically happens when a new url is put in the browser. can it be done mamually?

MG
yes that automatically happens when a new url is p...

Full page reload doesn't only happen when the URL changes. If you hit F5 you're doing a manual full page reload to the same URL for example

MG
yes that automatically happens when a new url is p...

location.reload() in JS also does a full page reload

MG- Автор вопроса
Roman Sharkov
Full page reload doesn't only happen when the URL ...

got your point. i meant if i have some html page content and i want to display that and also make sure that no old content stays in the browser. is there any way to do it manually without full page reload?

MG
got your point. i meant if i have some html page c...

i don't fully understand your problem but why you don't use React? i think it do what you want.

MG- Автор вопроса
MG
yes.

Just make the server send a redirect response so the browser does a full page reload automatically

MG- Автор вопроса
Mr Thieves
i don't fully understand your problem but why you ...

yes i can use the ready made frameworks but want to understand that if it can be done at more basic level with js code.

MG- Автор вопроса

Похожие вопросы

Обсуждают сегодня

Какой-то там пердун в 90-х решил, что есть какая-то разная типизация. Кого вообще это волнует?
КТ315
49
Hi. Do we have a raid bot? Why nobody doing raids on X? Even RH mentioned this and nobody paying attention...whats the channel for hex memes? If mods cant run raids just insta...
H
31
Подскажите, а есть vault lite или ченить такое?) А то нужен вольт для похода в вольт, но весит он ~500 мб) как-то многовато для парочки запросов ))
Alexandr Orloff
17
блеать, почему так?? где в роутере это исправляется?
Маньяков 🇦🇲
16
void terminal_scroll() { memmove(terminal_buffer, terminal_buffer + VGA_WIDTH, buffer_size - VGA_WIDTH); memset(terminal_buffer + buffer_size - VGA_WIDTH, 0, VGA_WIDTH); ...
Егор
47
🌊 Ocean Nodes Dashboard Update 🚀 Hey, Oceaners! First off, a massive round of applause 👏to all of you for the amazing engagement since we launched Ocean Nodes. In just a few ...
KreigDK | Never DM first🌊
3
Всем привет! Подскажите, пожалуйста, в чем ошибка? Настраиваю подключение к MySQL. Либы лежат рядом с exe. Все как по "учебнику"
Евгений
16
А можете как-то проверить меня по знаниям по ассемблеру?
A A
132
Здравствуйте! У меня появилась возможность купить книгу "Изучай Haskell во имя добра!". Но я где-то слышал, что эта книга устарела. Насколько это правда??
E
22
люди, которые используют flameshot, к вам вопрос. Можно-ли поставить хоткей на создание скриншота? В программе есть отдел "горячие клавиши", но там все для редактирования, скр...
ThunDer104
11
Карта сайта