added cache prepend option