Jornik Posted October 17, 2016 Share Posted October 17, 2016 Hello, i am developing an application that contains a lot of very small images (~17 000, size 1-2KB each). Problem is when i am trying to build the application - it takes a lot of time (10-15 minutes). Another problem is with installation of the application - only small portion of the resources is actually installed (~2 000). Anyone else experienced this problem? Is there anything i could do to speed it up and to fix the installation problem? Thanks in advance. Link to comment Share on other sites More sharing options...
Joy Rex Posted October 17, 2016 Share Posted October 17, 2016 Loading that many images is why it is taking so long - not sure about Pages since I haven't dived into it yet, but if there is a paging mechanism available, breaking up those images into logical blocks (say >100 per page) would speed up loading significantly. Link to comment Share on other sites More sharing options...
Jornik Posted October 18, 2016 Author Share Posted October 18, 2016 Hi, thanks for the reply Quote Loading that many images is why it is taking so long Yes, images are the problem, i added index to the core_theme_resources table and it is little bit better. Quote Pages since I haven't dived into it yet, but if there is a paging mechanism available, breaking up those images into logical blocks (say >100 per page) would speed up loading significantly. Problem occurs in developer mode, when i try to build my custom app, or when i am installing my custom app on a fresh installation of IPS. I added index to the core_theme_resources table and it reduced time needed for the build, but installation still takes around 20 minutes. I guess i will have to dig in to the IPS code and see if i can somehow speed it up (for example using multi inserts) ;). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.