Project

General

Profile

Bug #2726

References are cached with the verse ID (even though it is the same chapter)

Added by Luke Murphey over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
05/11/2020
Due date:
% Done:

100%

Associated revisions

Revision 1155 (diff)
Added by luke.murphey over 4 years ago

Adding improved cache control

It not doesn't cache verses

It also can load a chapter and then add in the verse info

Reference #2726

Revision 1156 (diff)
Added by luke.murphey over 4 years ago

Improving cache handling

Reference #2726

History

#1 Updated by Luke Murphey over 4 years ago

  • Target version changed from Plus_2 to 4.0

#2 Updated by Luke Murphey over 4 years ago

Obs:
  • The following changes when a verse to highlight is selected
    • verse_to_highlight
    • verse_not_found
    • warnings
    • title
Qs: Solns:
  • Cache the response manually, add in the verse data afterwards
    • I could have the system store only the chapter part long-term
    • The cache system could check for existence of a match for the URL. If it finds one, it can assume it was for a chapter only and just return what it got (and not bother with the verse only functionality).
    • The cache key ought to be the URL portion of the work (work and divisions)
Refs:

#3 Updated by Luke Murphey over 4 years ago

I think I need to not cache response with leftovers. This is currently ignored.

#4 Updated by Luke Murphey over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF