on 02-28-2017 6:36 PM
Hi,
I know that Hybris has support for js and css compression. https://help.hybris.com/6.3.0/hcd/8af03fda8669101491e4aac2acaeb2dd.html
Is there a way to combine files to reduce no of http calls. For example: Use something like google closure. This is standard practice is other web based application development like (jhipster/Angular)
Using below property setting, merge of CSS and JS possible, you guys can read about enabling wro4j in Hybris
(https://github.com/wro4j/wro4j) is disabled by default. # Here you can enable it on site/frontend level storefront.wro4j.enabled=true
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure if this is what you are looking for but you might want to see how "granule" module is used. By default it is disabled and we can enable it from hac without need for restart.
storefront.granule.enabled=false # -> currently “false”
#Can be changed to “true”
storefront.granule.enabled=true
Doing this combines all the css and js into one big file. Only issue is you will have to ensure all the js file have proper end of line delimiter(";").
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://wiki.hybris.com/display/hybrisALF/Infrastructure+Considerations
I think we must refrain from using Granule.
Granule should be disabled as is no longer a maintained project and it can cause serious performance issues in the latest versions of the accelerator: Set storefront.granule.enabled=false
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.