lightscript

Lightscript is a Static File Optimization Script that is able to merge, gzip and cache merged files. It also can coordinate your caching strategies. You can combine for instance your javascript requests to one request with:

http://example.com/scripts/lightscript.php?q=prototype.js|scriptaculous.js|main.js&c=1

With q you can list all files you need and with c you decide whether cache the file or not (c=1 || c=0).

$cache_dir and $script_dir are the variables that point out the place where the scripts are located and where lightscript can store cached files. Make sure that these directories are writeable (777). In the downloadable archive we have created 2 folders (scripts & cache). You can use this folders by default.

Lightscript was introduced in July’10.

Version two

The version two of lightscript comes out with a new feature called minification. Everybody who is familiar with performance of web application knows what minification means. To minify a script means to delete all necessary blank tokens, delete carriage returns and at least minify some syntactical structure (e.g. #FFFFFF -> #FFF). I also replaced some functions with faster alternatives. [download]

Version three (expected)

Because of temporal bottlenecks, I decided to shelve some features into a newer version. Version three will have SHM (shared memory) support for the cache and it will be possible to handle more than one script type in a lightscript. To keep lightscript light and small, as the name implies, I tend to put just slim code into it. Here is a list of all planned features:

  • shared memory support
  • handle more script types in one installation
  • better gzip handling
  • reduce the code of CSSMin and JSMin

Download

Latest version: Lightscript-Version-two

other versions: Lightscript-Version-one

15 thoughts on “lightscript

  1. Growing ourselves and speeding up our vibrations may
    make these messages over eerie apparitions, but signs we are able to consciously follow.
    Belonging to Robert Pattinson,” Binoche recalled, “[a] fabulously wealthy
    man who aspires it all and loses all of it. Plant
    lights led However, it isn’t advised being a way to develop food as it can certainly lack nutrition and might not be
    as healthy when compared with foods grown using conventional organic methods.

    Plumerias may be grown successfully from seeds, cuttings, or as rooted plants both indoors
    and outdoors following surefire guidelines. Simultaneously the High Pressure Sodium (HPS)
    lights with orange shade increase the risk for growing of
    plant near around harvesting period.

  2. Because individuals programming, neither monitor actually shows
    1080p imagery as 1080p, but downscales to 1080i.

    Main advantage: DLP technology, fits inside your hand, tripod mount for
    the bottom, 85 lumens, modern clean design. Hdmi to rc converter This little bit of technology has changed how we watch TV,
    focus on music plus a whole lot more.

    You can listen for the music when using GPS navigation for the same time.
    This unit works like each from the monitors is connected directly towards the source.

  3. Think about, in case you can’t get her to hug you or hold you hand,
    how’s it going going to acquire her to kiss you for the lips.
    Chrome wheels, aluminum rims, and custom wheels all add an undeniable style for a truck whilst enhancing performance.
    Nerf shotguns for sale Trucks are highly practical are secure to the road because they may be mainly manufactured to securely carry loads on an extended
    distances and quality is definitely improving.

    This is definitely an affordable device that puts the power of an mechanic promptly into
    your hands. Well, the reality is the fact that all pickups and deliveries are
    by appointments that people as drivers don.

  4. The Panasonic Cordless Iron comes with a temperature control gage, which I can readily
    set it for the level of heat I desire. Another good
    thing about using headsets is always that it makes multitasking far more easier
    as both our hands have the freedom while we talk on the phone while using the AT&T headsets.
    Top cordless vacuum With this Vizio model, you can get connected for the Internet by means of the built-in Wireless-N Wi-Fi or perhaps the
    available Ethernet port.

    Some of those devices that may pick the signals are
    also cordless telephones, radio scanners and also baby monitors.
    8 GHz Cordless Phone with Digital Answering System:
    This phone retails for $29.

  5. This band was part on the “Beautiful Noise” scene with the early 1990’s.
    A cutscene will play certainly where an Mole Man casts a protection spell around the chest.
    How to make a portable vagina Exit the conversation and rehearse Max’s dummy power for
    the Mole Girl.

    Created by Ugobe and launched in January 2007 as “Pleo,” the
    main dinosaur sold for an estimated $350. This his-and-her luxury product might be separated into two parts.

  6. You may lack some features, nevertheless the DMP-BDT100 3D Blu-ray DVD
    Player usually supplies you which has a very pleasant Blu-ray experience.
    This is simply because only the cables are responsible for carrying audio and video signal and just when they’re of
    quality, the quality from the output is going to be good.
    Converter hdmi A PC containing DVI ports must make use of a cable with male DVI to
    male HDMI ends or possibly a male DVI to female HDMI adapter.

    Place your subwoofer in which you found your very best spot during
    a range of listening materials and also you’re all set.
    This requires going in to the computer’s Control Panel to create minor adjustments.

  7. Flowering and growing plants needs different light colors to increase the output of plant nutrients.

    It is currently the preferred use of any night club tenant to customize the standard night club lighting to LED
    club lights. Blackstar led grow lights However, 12 ‘ 14 hours are generally adequate for plants
    that receive some daylight.

    The Growspot LED grow light, as an example, screwed straight into a standard bulb
    socket. I believe a strong marriage is that where
    the couple is capable of change together and grow together.

  8. Demanding graphic design Adobe application for notebook laptops could burn your device.
    Give unique look for your notebook: Just imagine, you may find a great deal of laptops same like
    your laptop, what will be the difference. Best laptop for programming student
    If you do a large amount of travelling using your computer, you are going to
    want something lightweight which’s in which the HP group of
    ultra-portable laptops come in.

    Laptop technologies are quite different from your conventional desktop computer technologies so will be the problems and
    issues related to those. There are a huge selection of great
    Laptop brands that should be considered when choosing a
    student laptop, from Hewlett Packard, Dell, Sony, Samsung and
    several more.

  9. They will either enrich a hardon or advance penis size
    and girth. This is usually a wonderful time for it
    to place things within the Yule altar that can be representative of what you’re grateful for and what you’d
    wish for the loved ones. Dolls sex toys Without
    question, schedule somewhat me time with the new friend.

    Products for example the “Liberator Ramp” offer an incredible benefits of maintain certain positions.
    This will decrease arousal level and calm your brain and body
    making sure that you usually do not start the ejaculation reflex.

  10. They may be very helpful for large applications which require
    cameras being installed far in the CCTV control room i. The mobile advertising is extremely affordable and you do not have to worry about
    your message being fast forwarded with a DVR just like a
    commercial or landing in a parking lot just like a
    flyer. Best dvr camera system Analog CCTV recording systems happen to
    be the basis surveillance and monitoring for the past twenty years.

    In the previous it was imagined a CCTV scheme only agreed to be for
    giant business online safety applications. These are some with the reasons why buying CCTV kits is really a better,
    sounder option.

  11. So have a digital TV antenna Sydney can serve
    advantages and applications. Choosing the
    top type of antenna can be an important decision: A backyard
    roof-mounted antenna assures quality reception when compared to the indoor antenna.
    Hd antenna reviews DTH users receiving system is made up of small satellite dish antenna (Dish) and integrated receiver decoder (IRD) and smart card (Smart Card) form.

    Fortunately there are solutions, like the ATI All-in-Wonder HD, that
    combine the two video processor and the HDTV tuner
    into one device, making your build that much easier. I really like the
    flat kind of this digital HD antenna from RCA.

  12. Ugg boots include the lots of unbelievable news
    inside Australia as well as the earth ages every time they gotten to
    earth market place. For mounting onto a preexisting pole or rail as well as a tree branch, operate the velcro strap attached for
    the tripod.

    Or you are able to connect having a wireless USB adapter included while using player.
    The intimacy and relationship building ‘s what separates Twitter
    from some other social media available. Best range extender wifi
    Next, find the Driver tab and select the Update Driver
    button.

Leave a Reply

Your email address will not be published. Required fields are marked *