Mautic .js files serving slow - can they be gzip compressed

Hi

I am not really sure how to even ask the question in the correct way, we have a client that says that the load time on Mautu js files is slowing the site down, specifically : Mautic-form.js
/form/geneerate.js?id=whatever
css/modal.min.css

Is there a way to have these passed in gzip encoding ? or something like that ?

Or is this a server configuration and if so would anyone know how to set this up with an nginx server

Thanks

For anyone that is interested, this is a server side issue. I was able to solve it inside nginx, do the following:

  1. cd /etc/nginx
  2. cp nginx.conf nginx.conf.orig
  3. From line 46 where the gzip section is - uncomment all the lines and also add
    gzip_min_length 256;
  4. Restart nginx

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.