[
https://issues.apache.org/jira/browse/MYFACES-4630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17771338#comment-17771338
]
Werner Punz edited comment on MYFACES-4630 at 10/3/23 5:39 AM:
---------------------------------------------------------------
No they are more a goody than anything else, you do not necessarily need them,
they might save a little bit of bandwith though (not that important but it was
a low hanging fruit), you can turn the build off in the node file!
Shall we turn them off, saves a little bit of space?
The map files are mandatory however! Otherwise debugging the scripts wont work
(aka wont show the typscript sources during debugging instead of the js
sources)! I would not recommend to turn them off for the development version,
having a working debugging possibility which shows the typescripts is a must!
was (Author: werpu):
No they are more a goody than anything else, you do not necessarily need them,
they might save a little bit of bandwith though (not that important but it was
a low hanging fruit), you can turn the build of them off in the node file!
Shall we turn them off, saves a little bit of space?
The map files are mandatory however! Otherwise debugging the scripts wont work
(aka wont show the typscript sources during debugging instead of the js
sources)! I would not recommend to turn them off for the development version,
having a working debugging possibility which shows the typescripts is a must!
> Compressed Files Necessary in 4.0 API?
> --------------------------------------
>
> Key: MYFACES-4630
> URL: https://issues.apache.org/jira/browse/MYFACES-4630
> Project: MyFaces Core
> Issue Type: Improvement
> Affects Versions: 4.0.1
> Reporter: Volodymyr Siedlecki
> Assignee: Werner Punz
> Priority: Major
>
> The API contains the following files:
> META-INF/resources/jakarta.faces/faces.js.br
> META-INF/resources/jakarta.faces/faces-development.js.br
> META-INF/resources/jakarta.faces/faces.js
> META-INF/resources/jakarta.faces/faces-development.js.map
> META-INF/resources/jakarta.faces/faces-development.js
> META-INF/resources/jakarta.faces/faces.js.gz
> META-INF/resources/jakarta.faces/faces.js.map
> META-INF/resources/jakarta.faces/faces-development.js.gz
> Is it necessary to have the .br, .map, and .gz files? If not, could we
> remove them to reduce the API size by a bit?
> Thanks!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)