Answer the question
In order to leave comments, you need to log in
The site is very stupid, although the server is not loaded and there is enough speed?
SPA Vue Nuxt website. Now I'm trying to solve this problem. Attendance is now low. Almost no load. But brakes at transitions up to 1 minute often happen. CloudFlare caches all responses in front of the site. Now I'm trying a new NGINX config to additionally cache statics
location ~* ^.+\.(css|js)$ {
expires modified +5d;
}
location ~* ^.+\.(jpg|jpeg|gif|png)$ {
# add_header Access-Control-Allow-Origin *;
expires 5d;
}
Answer the question
In order to leave comments, you need to log in
The problem was in the Metrica counter. Perhaps the jamb of the module through which it is connected. In general, Webvisor is not compatible with the SPA, as I understand it. It starts sending its requests during transitions and blocks the loading of scripts and styles. Accordingly, we have a problem. DEFER did not help, as it further complicates the integration of the counter. Turned off Webvisor and it seems to be better. He also blocked the download of both Fonts and Pictures on the page. Completely broke everything, but randomly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question