Fixes for gh-255

Fixes gh-255 setExpires(0) problem, where a falsey check was causing setExpires(0) to actually treat it as "cache always" as opposed to "cache never".

Added if/else wrappers. There's no test for this, as I'm actually at a loss for how to unit test this component. (Mocking lscache would just tell us what we already know)