Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: Rendering very long lists
#2
What client are u using?

The data for Tag/Album views is generated in the loadLibrary() function in /var/www/inc/music-library.php. A file named libcache_all.json is returned to the client and stored in /var/local/www/. All data sent between client and server is automatically gzip compressed by NGINX, look in /etc/nginx/nginx.conf

There are some PHP, NGINX and MPD resource limits that cap the size of what can be transferred from server to client. 

PHP: Try doubling max_input_vars and post_max_size
Code:
   # /etc/php/$PHP_VER/fpm/php.ini
   # max_execution_time = 300
   # max_input_vars = 32768
   # memory_limit = -1
   # post_max_size = 75M
   # upload_max_filesize = 75M
   # session.save_path = "0;666;/var/local/php"

NGINX: Try doubling client_max_body_size
Code:
/etc/nginx/nginx.conf
# client_max_body_size 75M

MPD: Try doubling max_output_buffer_size
Code:
/etc/mpd.conf
# max_output_buffer_size "131072"
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Rendering very long lists - by moodenigo - 06-13-2024, 10:34 AM
RE: Rendering very long lists - by Tim Curtis - 06-13-2024, 11:32 AM
RE: Rendering very long lists - by moodenigo - 06-13-2024, 12:09 PM
RE: Rendering very long lists - by moodenigo - 06-13-2024, 12:18 PM
RE: Rendering very long lists - by Tim Curtis - 06-13-2024, 12:33 PM
RE: Rendering very long lists - by moodenigo - 06-13-2024, 02:52 PM
RE: Rendering very long lists - by Tim Curtis - 06-13-2024, 03:22 PM
RE: Rendering very long lists - by swizzle - 06-14-2024, 08:31 PM
RE: Rendering very long lists - by Nutul - 06-14-2024, 10:05 PM

Forum Jump: