<xxf:script>Until now if you used more than one instance of the currency component in your page, the inline scripts would be duplicated multiple times on the client.
Now, with this enhancement, each script body is associated a SHA1 hash based on its content, and a given script body is sent to the browser only once. This means less duplication of code.
Here is the documentation on <script> and <action> actions for scripting. And if you are interested in the implementation, here is the git commit, in particular PartEventHandlerAnalysis.scala.
Post a Comment