Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert cache changes for index action. #4268

Merged
merged 1 commit into from
Mar 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

class CatalogController < ApplicationController
caches_page :show
caches_action :index, expires_in: 12.hours, cache_path: Proc.new { |c| c.request.url }

include FacetParamsDedupe
include BlacklightAdvancedSearch::Controller
Expand All @@ -13,7 +12,6 @@ class CatalogController < ApplicationController
include ServerErrors
include LCClassifications

skip_forgery_protection only: [:index]
before_action :authenticate_purchase_order!, only: [ :purchase_order, :purchase_order_action ]
before_action :set_thread_request
before_action only: :index do
Expand Down