Skip navigation
Currently Being Moderated

I wish to set up a SSL connection for a Web page

May 18, 2009 5:06 AM

 

 

I wish to set up a SSL connection for a Web page that has a Flex application inside it.

 

The only things is that the swf is about 2mb and I am really worried about performance. Do you have any advice?

 
Replies
  • Currently Being Moderated
    May 18, 2009 5:38 AM   in reply to nikos101

    Use RSL in your flex app, externalize assets.

     

    Sincerely,

     

    Michael

     

    El 18/05/2009, a las 7:06, nikos101 <forums@adobe.com> escribió:

     

    >

    >

    >

    I wish to set up a SSL connection for a Web page that has a Flex 

    application inside it.

    >

    The only things is that the swf is about 2mb and I am really worried 

    about performance. Do you have any advice?

    >

     
    |
    Mark as:
  • Currently Being Moderated
    May 18, 2009 6:05 AM   in reply to Michael Borbor

    If you use RSL to externalize parts of the Flex framework or assets into other SWFs, which can be a godsend for large Flex projects, please test carefully in as wide a range of browsers as possible (not just your browsers but get some colleagues or friends to take a look). I've seen odd errors and behaviors from Flex applications deployed in this manner, where the externalized SWFs don't load, etc.

     

    Again, RSLs can be a good choice and, when used properly, significantly reduce the size of your SWFs, but your users still have to download those SWFs the first time they use the application (they're cached after that -- just like your 2MB SWF will be cached, so this can sort of negate some, not all, benefits of the RSLs).

     

    As for performance, in general a 2MB Flex application isn't that huge, I don't think and, once it's downloaded, it's 'local' to the users browser, so no issue there. The bigger performance issue with SSL is what type and how much data are you moving to and from the application?

     
    |
    Mark as:
  • Currently Being Moderated
    May 18, 2009 7:44 AM   in reply to nikos101

    Personally, I wouldn't worry about performance over HTTPS with those specs.

     

    I have a current Flex project that is similar. It'll be about 1-2 MB when finished, probably 1.25-1.5 MB (sits at just under 1 MB now but a few more features have to be added). We're getting all our data from .NET-backed Web Services over HTTPS (the app receives either XML data or ByteArray data, when images are returned).

     

    It moves pretty well and I haven't noticed a difference between HTTP and HTTPS (I test on HTTP and deploy to a staging server that has HTTPS enabled and test further there before we push to the production server).

     

    The only performance issue I found, and it wasn't much better over HTTP, was when grabbing a HUGE data set, that .NET was returning as XML (as opposed to JSON, etc.). Again, I don't know how much of that was XML bloat in general versus being on an encrypted connection (that and I really didn't notice a huge speed increase, if any, under standard HTTP).

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points