Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    gzip file download - missing time

    Hi,
    In our application, we have merged and gzipped all our javascript files into three JS files, namely A.js, B.js, C.js.

    When client browser loads these files from server, there is a time gap (nearly 3 to 4 secs) between the file downloads.

    Example Log:
    18:25:05.555 --> Request to download A.js
    18:25:05.689 --> Downloading of A.js is complete

    <Note the time gap before the next request>

    18:25:09.265 --> Request to download B.js
    18:25:05.890 --> Downloading of B.js is complete
    ....


    Question:
    What happens during this time frame? We checked in the SmarClient logs, but there was nothing logged for this time interval. Is there something executed by SmartClient in the background?
    Please let us know about this. This is very critical to us as we have to reduce the application loading time.

    Thanks

    #2
    That's the execution time of your A.js etc files, most likely because you're not following the best practices in the SmartClient Architecture topic in the SmartClient Reference, which tells you to defer component creation until the components are needed.

    Comment

    Working...
    X