Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Apr 20, 2013
  1. Add MIT license

    authored
Commits on Apr 30, 2012
  1. Allow overrides of default config values.

    authored
    If a file exists called expurgate-config.php in the same directory
    as expurgate.php, it will be included; any constants defined within
    it won't be defined again.
  2. Add MAX_IMAGE_SIZE setting -- the maximum size of a single image.

    authored
    This size is in bytes, and defaults to ( 500 * 1024 ) = 500KB.
  3. Update README.

    authored
    * Change requirements to PHP 5.3.0, since we're using true anonymous
      functions rather than create_function
    * Rephrase 'how it works' section
  4. Functionality for purging a single image from the cache.

    authored
    For now, this image is selected at random, but a subtler method --
    e.g. selecting the least-frequently-used image, or the image that
    whose last-requested date is earliest -- should be developed soon.
  5. Create a setting, MAX_CACHE_FILES, that governs how the maximum

    authored
    number of cache files that will ever be created.
  6. Create a MAX_CACHE_SIZE setting, that governs the maximum size the

    authored
    cache can grow to.
    
    By default, this is ( 10 * 1024 * 1024 ) bytes, or 10MB.
  7. Expiration for cache files.

    authored
    Defaults to 7 days. On every request, cache files older than MAX_AGE
    will be deleted.
  8. Initial functionality.

    authored
    Including:
    
    * Authenticating requests via HMAC
    * Fetching images from remote servers
    * Storing images in the cache
    * Fetching images from the cache
  9. Rough skeleton of functions.

    authored
  10. initial commit

    authored
Something went wrong with that request. Please try again.