PHP Classes
Icontem

Class: GzOutput


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andrea Giammarchi  >  GzOutput  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: GzOutput Support forum
Base name: gzoutput
Description: Serve compressed files if the browser supports it
Related top rated classes: ,
Version: 0.5
Required PHP version: 4
License: MIT/X Consortium License
All time users: 558 users
All time rank: 3449
Week users: 1 user
Week rank: 3309
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Dependencies   Applications   Files Files  

Author

Picture of Andrea Giammarchi
Name: Andrea Giammarchi <e-mail contact>
Published packages: 17 Browse this author's classes Browse this author's classes
Country: Italy Italy - PHP jobs in Italy
Home page: http://www.3site.it/
Age: 31
All time rank: 23
Week rank: 52

Groups

Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Compression Data compression and file archive manipulation View top rated classes

Detailed description

This class can be used to serve one or more files compressing them if the user browser supports compression.

It can serve one or more files in the same request. If the files are Javascript or CSS, they can be processed first to remove needless comments and white space.

If the browser supports compression, the class may compress the files data before serving to the browser.

The resulting data may be stored in a cached directory to avoid processing overhead in subsequent requests of the same data.

The class checks the HTTP request headers to avoid serving data that did not change if the browser has cached the data and it was not changed since last time it was served.

User ratings

Not yet rated by the users

Packages needed by this class

Class Dependency Why it is needed
Cruncher class
Required
Required to remove comments and reduce sorces size
SourceMap
Required
Use this class to map source codes

Applications that use this class

Link Description
JavaScript overbyte Editor experimental runtime and realtime JavaScript Editor
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file gzmanager.php Example configuration file for public static GzOutput::createFromConfig method.
Plain text file GzOutput.class.php Aux. Choose correct class version for different hosting solutions.
Plain text file GzOutput.class4.php Class PH 4 compatible version
Plain text file GzOutput.class5.php Class PHP 5.X compatible version (E_STRICT ready)
Accessible without login HTML file GzOutput.doc.html Doc. How to use this class and static methods with or without automations.
Download all files: gzoutput.tar.gz gzoutput.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products