First off love this module, my site was getting slammed by anonymous users and this significantly cut down resources.
But my logs are filled with this error
strpos() [<a href='function.strpos'>function.strpos</a>]: Empty delimiter in /xxx/xxxx/sites/all/modules/cachestatic/cachestatic.module on line 278.
The offending line in the code -
if( strpos( $path, trim( $Url ) ) !== FALSE ) {
Comments
Comment #1
marcus0263 commentedInteresting, did some google around and chaged -
Line 278 from -
if( strpos( $path, trim( $Url ) ) !== FALSE ) {to -
if( stripos( $path, trim( $Url ) ) !== FALSE ) {This seems to have fixed it, not sure if it's a version thing or not for I found both strpos and stripos both as valid when I googled. I'm not a coder so let me know if this blows something up or not.
my version of php is -
Cheers
Comment #2
mikeytown2 commented@marcus0263 You might want to switch to boost. It's been 10 months since any code has been committed here.
Comment #3
marcus0263 commentedSo has this module been abandoned?
Comment #4
mikeytown2 commentedThats my guess; I implemented most of the new ideas of this fork back into boost. If you see something that is missing, let me know.
http://drupal.org/project/usage/cachestatic - 10 users
http://drupal.org/project/usage/boost - 4,253 users
Comment #5
marcus0263 commentedCool, thanks for the heads up