Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 3 of 3 total |
Created html file, lines removal |
Wed, Aug 31 2016 8:58 PM | Permanent Link |
Trinione | Is there a way to have the created HTML file only include the relevant components used by the application? It appears to add a bit of weight by included all.
I am seeing a lot of '<script type="application/json" data-ewbtype="ewbinterface" data-ewbname="...' lines in the file. |
Thu, Sep 1 2016 4:25 AM | Permanent Link |
Matthew Jones | Trinione wrote:
> Is there a way to have the created HTML file only include the > relevant components used by the application? It appears to add a bit > of weight by included all. > > I am seeing a lot of '<script type="application/json" > data-ewbtype="ewbinterface" data-ewbname="...' lines in the file. I'd be surprised if that aspect was not very optimised. Tim put a lot of effort into ensuring that no library code is output unless you actually use it, so that it compiles down to the smallest possible size (particularly when compression is on). The HTML file probably cannot have compression directly, but the server and browser should be doing compression for transmission. -- Matthew Jones |
Tue, Sep 6 2016 8:06 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | << Is there a way to have the created HTML file only include the relevant components used by the application? It appears to add a bit of weight by included all.
I am seeing a lot of '<script type="application/json" data-ewbtype="ewbinterface" data-ewbname="...' lines in the file. >> If a unit is included in an application, then all control interface declarations in that unit are included in the emitted application. So, the solution is to not include a unit if you don't need/want a particular control interface in the emitted application. However, some of the units in the EWB component library could probably be broken up a bit, and that would help with some of the "extra" control interfaces that may show up due to the above. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, April 17, 2024 at 10:35 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |