add repeat directive to app cache