metacpan / metacpan-grep-front-end

Grep Front end code
GNU General Public License v3.0
13 stars 13 forks source link

Update the file cache when a commit changes #4

Closed toddr closed 7 years ago

toddr commented 7 years ago

the git repo that is being grepped is going to be updated hourly. The file cache needs to invalidate when HEAD changes.

atoomic commented 7 years ago

as discussed we are going to use a 24 hours cache policy, which will solve most of the issues

atoomic commented 7 years ago

even better the Dancer app is started regularly we are going to use the HEAD commit as part of the caching directory, we should also cleanup older cache directories