Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 627 Bytes

README.org

File metadata and controls

21 lines (13 loc) · 627 Bytes

COMPRESSION-CACHE -*- mode: org -*-

compression-cache

Motivation

To provide a simple protocol for caching compressed files.

Goal: Make a Compression of Static Files for Web Servers

Usage

There are two functions as of version 0.1.0.

(defun initialize-cache (cache-path))
(defun ensure-path-to-compressed-file (filepath &optional &key (algorithm :gzip)))

The function initialize-cache must be called with a path to store the files to be cached.

The function ensure-path-to-compressed-file will return a path to the compressed version of the file which was passed as input.