K
K
kiranananda2019-03-20 18:28:35
JavaScript
kiranananda, 2019-03-20 18:28:35

js safari reloads the page, what to do?

Hello!
I am writing code in vue js. Accordingly, the code grows, the number of components too, and the weight of the page ... I use safari on a poppy (I like it :) ). Here, but this bastard reloads the page from time to time, says he eats too many resources ... Most often this happens when the inspector is open, but it also happens with a closed one ... I’ll get bored on chrome, but it will also be in production ... It turns out that if the site is entirely made on js, then it will eat resources one way or another and the nasty safari, so to speak, prevents the development of such sites. The most annoying thing is that you can't optimize anything here...
Here is one example, a form, a couple of tabs, each with a dozen inputs, and one tinymce. All this, of course, is beaten by components. Moreover, the page can be opened both 5 minutes before the reboot and a couple of hours, in different ways. This admin.
It’s even easier in production, but the js code itself is quite large, but not all of it is executed at the same time ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Ostic, 2019-03-20
@kiranananda

1. check if your application is eating memory (in the official docks of the view this question is described - you need to look - now not in the context)
2. use dynamic components

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question