LocalData / localdata-tiles

A tileserver for LocalData
5 stars 2 forks source link

Add a script for removing cached data from S3 #95

Closed prashtx closed 10 years ago

prashtx commented 10 years ago

Got sick of deleting cache files through the S3 web interface.

Later we can turn this into a sort of garbage collection script that deletes objects older than a certain age. Specifying 0 as the age would give the current "wipe clean" behavior.

Tested locally and through heroku.

/cc @hampelm

hampelm commented 10 years ago

Just wanted to confirm that the script permissions are correct?

prashtx commented 10 years ago

Just, checked, and it's executable. I poked around, and it looks like GitHub does tell us that, but it hides it in the top-left corner of the "whole file" view: https://github.com/LocalData/localdata-tiles/blob/clear-cache/scripts/clear-cache.js