Project

General

Profile

Task #1639

Cache search result needed for canonical url

Added by Ram Kordale about 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09/13/2021
Due date:
09/13/2021
% Done:

100%

Estimated time:

Description

Accessing a canonical URL results in a search for 'python' in a standard set of books. Every time someone accesses this URL from Google search and every access from GoogleBot results in this search. Each search returns the exact same result.

Today, we go to ES for each of these requests. Instead, store it in memory (just like we store autocomplete and autocomplete2 settings) and do not go to ES if it is available in memory.

For now, we need to do this for the 6 books in production as future books will not have this issue because of ticket 1638.

Of course, when these books are updated, the "cache" should be deleted.

#1

Updated by Saitej Varri about 3 years ago

  • Assignee changed from Saitej Varri to Venmuhilan B
#2

Updated by Venmuhilan B about 3 years ago

  • Status changed from New to In Progress
#3

Updated by Venmuhilan B about 3 years ago

  • Status changed from In Progress to Resolved
#4

Updated by Ayush Khandelwal about 2 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Venmuhilan B to Ram Kordale
#5

Updated by Ram Kordale over 1 year ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF