fixing error in passing of site_url to replacement callback, altering expiration handling to round up to nearest modulus of the expiration to allow some browser caching