+ Reply to Thread
Results 1 to 7 of 7

Thread: ThickBox (like lightbox)* Compressed .JS

  1. #1
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    ThickBox (like lightbox)* Compressed .JS

    http://jquery.com/demo/thickbox/

    So i am using thickbox because i feel its better suited for me, I want to know what are the benifits of using the compressed versions of thickbox.js and jquery.js ?

    What are the potential downsides?

    I had a look around and didnt really notice anything about them, what i want to know is weather the compressed files speed up download time, or reduce resource usage etc.

    Note* I manually prepared all the files and am not using any plugin for a software like wordpress to get this all to work. I just dreamweaver stuff when editing .html , .js and somtimes php files.
    Thanks


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  2. #2
    sourfacedcyclop's Avatar
    sourfacedcyclop is offline x10 Sophmore sourfacedcyclop is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    221

    Re: ThickBox (like lightbox)* Compressed .JS

    I think the compressed versions are smaller for one. The code itself is compressed on only a couple lines, making the file smaller. The downside would be that it would be harder to edit.
    "Sanity is nothing but our interpretation of reality"

    http://tswebvisions.com - Portfolio

  3. #3
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    Re: ThickBox (like lightbox)* Compressed .JS

    Oh, well if thats the only downside then im swiching to it straight away but ill wait for a post or 2 more from ppl to see if there are any other potential downsides they think would occur.


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  4. #4
    nterror is offline x10 Sophmore nterror is an unknown quantity at this point
    Join Date
    Mar 2008
    Posts
    112

    Re: ThickBox (like lightbox)* Compressed .JS

    Compression does help make downloading faster. No real downside here as things like comments and white space are removed, and sometimes variables are renamed to something shorter.

    It does make changes harder, so you should always keep a backup of the uncompressed file.

    Now this compressed JS uses Packer 3.0 with the Base64 encode setting. While having the highest compression, this is like obfuscating, which uses more resources. I would use another compressor on the uncompressed JS.

  5. #5
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: ThickBox (like lightbox)* Compressed .JS

    For development purpose, you should always use uncompressed version. However, for production uses, take the compressed version as it loads faster on the website.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  6. #6
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    Re: ThickBox (like lightbox)* Compressed .JS

    K thanks for the information guys, i switched to the compressed code for my site and if i ever need to look at the code before compression i can view it on the same site so its ok.


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  7. #7
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    Re: ThickBox (like lightbox)* Compressed .JS

    Well this was originally suposed to be a thread were i asked a question but if it helped som1 else thats great. Thickbox really is an impressive tool.

    (Just curious since when could guests post on x10?)


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


+ Reply to Thread

Similar Threads

  1. Uploaded .jpgs being compressed?
    By t44studio in forum Free Hosting
    Replies: 2
    Last Post: 07-17-2008, 12:07 PM
  2. Thickbox - movies
    By ZeptOr in forum Programming Help
    Replies: 2
    Last Post: 12-23-2007, 02:34 PM
  3. phpBB3 RC7 bbCode for thumbnail (thickbox)
    By onewalrus in forum Computers & Technology
    Replies: 0
    Last Post: 10-20-2007, 01:17 AM
  4. Uploading a compressed file, and then uncompressing
    By petee_c in forum Free Hosting
    Replies: 2
    Last Post: 11-28-2006, 09:35 AM
  5. compressed air cars
    By komodolinux in forum Off Topic
    Replies: 2
    Last Post: 07-27-2006, 05:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers