PHP Classes

Squid Cache Object: Parse a binary Squid cache file

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 495 All time: 5,857 This week: 488Up
Version License Categories
squidcacheobject 1.0GNU Lesser Genera...Files and Folders


This class can be used to parse cache files stored by the Squid HTTP caching and proxy program.

It can read and parse a given Squid cache to retrieve several details to be available through class variables, such as: the cached URL, SHA1 and MD5 hash values, size and contents of the cached data, cache file creation and last modification dates.

Innovation Award
PHP Programming Innovation award nominee
September 2006
Number 10
Squid is a popular HTTP proxy and caching program. It caches the contents of remote Web sites in local files to avoid the overhead of fetching those contents repeatedly.

This class can retrieving the information about the contents of cached remote resources, directly from PHP.

Manuel Lemos
Picture of Warren Smith
Name: Warren Smith <contact>
Classes: 4 packages by
Country: United Kingdom
Age: ???
All time rank: 49027 in United Kingdom
Week rank: 250 Up7 in United Kingdom Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagedocs (2 files)
Files folder imageexamples (1 file)
Plain text file Class The main class

  Files folder image Files  /  docs  
File Role Description
  Accessible without login Plain text file README Doc. README documentation in plain text
  Accessible without login HTML file README.html Doc. README documentation in HTML format

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file example.php Example An example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,857
This week:488Up