From 8556f7f55160eea974e4aa3a4d5ab4fc769ad494 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Mon, 25 Apr 2016 17:59:40 -0700 Subject: [PATCH] Note about deletes being delayed in the cache purge --- app/site_files.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/site_files.rb b/app/site_files.rb index 9a88bdd6..c90e8a12 100644 --- a/app/site_files.rb +++ b/app/site_files.rb @@ -135,7 +135,7 @@ end post '/site_files/delete' do require_login current_site.delete_file params[:filename] - flash[:success] = "Deleted #{params[:filename]}." + flash[:success] = "Deleted #{params[:filename]}. Please note it can take up to 30 minutes for deleted files to stop being viewable on your site." dirname = Pathname(params[:filename]).dirname dir_query = dirname.nil? || dirname.to_s == '.' ? '' : "?dir=#{Rack::Utils.escape dirname}"