Add cache length parameter to the parameter parsing.
Merge pull request #660 from andrewbevitt/master

Add cache length parameter to the PHP parameter parsing.