mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
disable activity cache
This commit is contained in:
parent
2625e1328a
commit
6ced50a88d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue