Hello again,
I tried mod_deflate, but it did not change anything. I suspect that the compression is already enabled for js files with mod_gzip in baculum-web.conf file with the following lines. <IfModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.js$ mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </IfModule> Kind regards, Yakup Kaya ________________________________ From: Yakup Kaya <yakup.k...@indra-avitech.aero> Sent: Friday, July 14, 2023 07:37 To: Marcin Haba Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Baculum Dashboard is too slow on remote vpn connection Hi Marcin, Thanks a lot for your answer. I will have a look at compression, and share my results from here. For the number of jobs listed, I already use 100 (default was 15000), but in my case it does not change loading time for the dashboard. It still gets that 26.65 MB of data and loading time does not change. But that setting improves the loading time for "Job history" and I always decrease the default on my installations. Kind regards, Yakup Kaya ________________________________ From: Marcin Haba <ganius...@gmail.com> Sent: Friday, July 14, 2023 04:03 To: Yakup Kaya Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Baculum Dashboard is too slow on remote vpn connection Hello Yakup, You can try to enable compression in your web server. Here you can see how it can be done for Apache using mod_deflate module: https://httpd.apache.org/docs/2.4/mod/mod_deflate.html Also, what can speed up the process of loading pages, you can limit the number of jobs loaded to the web interface. It is possible to do under the gearwheel icon in the sidebar menu at the top left. For the dashboard I think we can also improve a bit loading it. I noted it on my task list to check in the future. Thanks. Best regards, Marcin Haba (gani) On Thu, 13 Jul 2023 at 14:11, Yakup Kaya <yakup.k...@indra-avitech.aero> wrote: > > Hello everybody, > > > On Baculum interface, I have a performance issue on slow remote connections > (it is fast on the local machine). Sometimes it takes around 5 minutes for > the Dashboard to load completely. With inspect element option on Firefox, I > noticed jquery.js is getting 26.65MB of data and it is taking 229530 ms to > load the whole page (because of the slow connection). Initially the Dashboard > comes quickly without the "Last 10 jobs" and the "Database size" parts. Then > it waits 4-5 minutes to load that ~26 MB data and shows the rest. I wonder > why this interface has to get that much data to show the information > presented on Dashboard. Do you have any idea how can I improve the > performance? Unfortunately I cannot change the speed of my remote > connections. The link for the screenshot showing inspect element is below. > > > https://snipboard.io/GslPw9.jpg > > > Details of the system I connect is as follows: > > > Operating system: CentOS Linux release 7.6.1810 (Core) > > Database used: PostgreSQL (version 9.2.24) > > Bacula version: 9.6.6-1 > > Baculum version: 9.6.6.1-1 > > Baculum API version: 9.6.6.1-1 > > Authentication method for users: Oauth2 > > Kind regards, > Yakup Kaya > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- "Greater love hath no man than this, that a man lay down his life for his friends." Jesus Christ "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za przyjaciół swoich." Jezus Chrystus
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users