Jul
09

Today we want to introduce you to the Static File Optimization Script called lightscript. We use some techniques of the script in our web-based projects. The handling is very easy and the effect is huge. Lightscript allows the user to gzip, merge and cache the merged files on the fly. Now, we have to explain some aspects of lightscript.

$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 also implements some cache directives.

header("Expires: ".date('r',mktime(0,0,0,12,12,date('Y')+5)));
header("Pragma: public");
header("Cache-control: public");
You can perform a request on lightscript in the following way:
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).

Here you can download lightscript in version one.
Jun
27

Hello World,

first of all we want to introduce to you the cip-labs. CIP is an acronym for „Code Is Poetry“. And that it’s all about. „Code“ is the keyword for our new site. At the cip-labs we will run some performance tests, introduce serveral software and own projects to the public. At the moment our team contains only one engineer. It’s Alex.

Alex studies computer science at the HTW Dresden. He works for some companies to improve his knowledge and to get some feedback from these clients. His subjects are networks, administration/clustering, C/C++, C#, Java, PHP (favourite), Python and databases. Alex is specialised in optimizing webapplications.

This was our short introduction to cip-labs.

Stay tuned!