<commit_before>class AdminController < ApplicationController

  def index
    authorize! :manage, :all
    @title = "Admin"

  end

end
<commit_msg>Bust cache before filter<commit_after>class AdminController < ApplicationController

  before_filter :set_cache_buster

  def index
    authorize! :manage, :all
    @title = "Admin"
  end

  private

    def set_cache_buster
      response.headers["Cache-Control"] = "no-cache, no-store, max-age=0, must-revalidate"
      response.headers["Pragma"] = "no-cache"
      response.headers["Expires"] = "Fri, 01 Jan 1990 00:00:00 GMT"
    end

end

{'fraction_non_alphanumeric': 0.10490693739424704, 'fraction_numerical': 0.021996615905245348, 'mean_word_length': 3.6984126984126986, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1062137', 'n_tokens_mistral': 207, 'n_tokens_neox': 186, 'n_words': 47}