Config Added for cache time and default IP

Added cache option in template tag.
Added configuration using standard environment aware craft config files.