Spinning icons after downloading pictures

Ubuntu 20.04 VPS
NC 19.0.1
MariaDB 5.4
Php 7.4
php-pear php7.4-cgi php7.4 php7.4-cli php7.4-fpm php7.4-common php7.4-mbstring php7.4-curl php7.4-gd php7.4-mysql php7.4-json php7.4-intl php7.4-opcache php7.4-xml php7.4-soap php7.4-bz2 php7.4-imagick php7.4-zip php7.4-bcmath php7.4-gmp -y
‘memcache.local’ => ‘\OC\Memcache\APCu’,
Cron
No custom applications, only default ones

have 2 servers and on both the same problem
I used this guide


Cloudflare instead of let’s encryt btw but I think it doesnt’ matter

Just noticed that when I download puctures then icon start spinning and spinning and spinning all the time till I reload the page. How to fix it guys?

Maybe something to fix in nextcloud.conf nginx?

So no idea or everyone has the same spinning icons while downloading images?

Just installed nextcloud from snap on the other VPS. Nothing has spinning all the time, just a few seconds.

But personally I can’t afford nextcloud from snap. I takes 600-700 MB RAM!!! It uses Mysql, instead of lightweight mariab and php7.3, instead of 7.4. Moreover I suppose it uses apache2 instead of lightweight nginx.

Funny thing, but it was cause of Cloudflare. I change DNS to my VPS provider’s DNS and now everything’s smooth. WTF? Very strange, I would even say incredibly strange!