disable activity cache

This commit is contained in:
Kyle Drake 2024-08-26 22:54:45 -05:00
parent 2625e1328a
commit 6ced50a88d

View file

@ -1,5 +1,5 @@
get '/activity' do
expires 7200, :public, :must_revalidate if self.class.production? # 2 hours
#expires 7200, :public, :must_revalidate if self.class.production? # 2 hours
@page = params[:page] || 1
@pagination_dataset = Event.global_dataset.paginate(@page.to_i, Event::GLOBAL_PAGINATION_LENGTH)