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 "Bl-1848: Add action caching. (#4426)" #4489

Merged
merged 2 commits into from
Jun 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 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: 1.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 Expand Up @@ -43,7 +41,7 @@ def self.libwizard_tutorial?
config.advanced_search[:form_solr_parameters]["f.language_facet.facet.sort"] ||= "index"
config.advanced_search[:fields_row_count] = 3

config.track_search_session = false
config.track_search_session = true
config.raw_endpoint.enabled = true

## Class for sending and receiving requests from a search index
Expand Down