Minify resources to render

Hi all

We've recently made some research on UX when navigating on the platform and we noticed that some resources sent on every page are not minified. See tinymce.js, nuxeo-select2.js as an example.

type an image title

Is there a way to minify all the resources on the server (a filter, for example) to sent only minified resources (js and css) to the browser?

I've seen some tickets about this https://jira.nuxeo.com/browse/NXP-18294 but not fixed yet. Any alternative solution in the comunity?

Thanks , Paco

1 votes

1 answers

1387 views

ANSWER

Hi, Why do you think that this is important given that all these resources are put in the browser cache anyway?
03/02/2016

I have also experienced this situation, however, not sure if it is related to Nuxeo. Comparing load time using the web browser, between Alfresco and Nuxeo. I see that Alfresco takes more time to do the response than Nuxeo, however, the total load time for Nuxeo is twice the one in Alfresco because it takes more time to render and load resources such as images, etc. Does Nuxeo needs special cache configuration at server side for static resources?
03/02/2016



Hi Florent We want to reduce the traffic between server and client as much as possible, regardless of the browser's cache. Other platforms like Liferay has minifiers to send the css|js minified to the client side, is Nuxeo planning to offer something similar?

Thanks,

0 votes