diff --git a/app/models/school.rb b/app/models/school.rb
index edab530..a7e25ae 100644
--- a/app/models/school.rb
+++ b/app/models/school.rb
@@ -1,5 +1,5 @@
class School < ActiveRecord::Base
- belongs_to :tournament
+ belongs_to :tournament, touch: true
has_many :wrestlers, dependent: :destroy
has_many :deductedPoints, through: :wrestlers
diff --git a/app/views/tournaments/team_scores.html.erb b/app/views/tournaments/team_scores.html.erb
index 0bee520..bf8f1c1 100644
--- a/app/views/tournaments/team_scores.html.erb
+++ b/app/views/tournaments/team_scores.html.erb
@@ -1,22 +1,24 @@
-<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}" , :class=>"btn btn-default"%>
-
-
-
-
Team Scores
-
-
-
- | Name |
- Score |
-
-
-
-
- <% @schools.each do |school| %>
+<% cache ["team_scores", @tournament] do %>
+ <%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}" , :class=>"btn btn-default"%>
+
+
+
+ Team Scores
+
+
- | <%= school.name %> |
- <%= school.pageScore %> |
+ Name |
+ Score |
- <% end %>
-
-
\ No newline at end of file
+
+
+
+ <% @schools.each do |school| %>
+
+ | <%= school.name %> |
+ <%= school.pageScore %> |
+
+ <% end %>
+
+
+<% end %>
\ No newline at end of file