Skip to content

Instantly share code, notes, and snippets.

View dlsniper's full-sized avatar

Florin Pățan dlsniper

View GitHub Profile
#!/bin/bash
echo "This script will rebuild a Debian style package (deb) of latest stable"
echo "Nginx. The original deb is from nginx.org apt repository."
echo
echo "This will prompt you yes or no on a few changes to the build as well as"
echo "it will compile and package the latest Google NGX Pagespeed module."
echo
echo "This is built and tested on Ubuntu 12.04 LTS, fresh OS install."
echo "There are no guarantees, and I take no liability if it breaks, but it"

A. Caching systems in general:

  • there are many caching systems out there, with totally different APIs, levels of complexity, implementations and use-cases, so a minimum common API should provide some level of portability.
  • caching systems can work synchronously or asynchronously
  • usually caching systems store items for a limited amount of time (expiration, time-to-live, etc.)
  • some caching systems expose the expiration information in their API, others don't
  • those caching systems who use expiration may chose to use a predefined value, a system imposed value, or let the API consumer specify a value
  • the most basic operations are the storing and retrieval of things from the cache

Awesome PHP Libraries

A list of amazingly awesome PHP libraries that you should consider using (and some other shiny extras).