Actually a cache management is not needed here. A cache is generated by a cron job. I just wanted to have a way to generate one manually for convenience.