User Tools

Site Tools


scratchpad:xulrunner_caching_comparison

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scratchpad:xulrunner_caching_comparison [2011/06/08 16:17] phasefxscratchpad:xulrunner_caching_comparison [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Testing caching, HTTP requests, etc. in the staff client ====== ====== Testing caching, HTTP requests, etc. in the staff client ======
 +===== This Page May Need Updating or Revising=====
 +
  
 Methodology: monitor Apache logs for hits to determine whether a given invocation of a UI is using a cached version or not.  For a UI geared toward showing a specific object (such as a patron), test with multiple objects to ensure that caching isn't tied to specific objects.  Allow caching of common files; for example, Check In will access list.js and controller.js, but so will most interfaces, and we won't explicitly clear the cache between  Methodology: monitor Apache logs for hits to determine whether a given invocation of a UI is using a cached version or not.  For a UI geared toward showing a specific object (such as a patron), test with multiple objects to ensure that caching isn't tied to specific objects.  Allow caching of common files; for example, Check In will access list.js and controller.js, but so will most interfaces, and we won't explicitly clear the cache between 
Line 23: Line 25:
 ^Patron Items Out   | False (#6)  True (#14)            | False (#24) Partial (#32)               | ^Patron Items Out   | False (#6)  True (#14)            | False (#24) Partial (#32)               |
 ^Patron Holds       | False (#7)  True (#15)            | False (#25) Partial (#33)               | ^Patron Holds       | False (#7)  True (#15)            | False (#25) Partial (#33)               |
-^Patron Billing     | False (#8)  True (#16)            | False (#26)                             +^Patron Billing     | False (#8)  True (#16)            | False (#26) Partial (#34)               
-^Item Status        | False (#9)  True (#17)            | False (#27)                             +^Item Status        | False (#9)  True (#17)            | False (#27) Partial (#35)               
-^OPAC Javascript    | False (#10) Partial (#18)         | False (#28)                             |+^OPAC Javascript    | False (#10) Partial (#18)         | False (#28) Partial (#36)               |
  
 +**Note:** Most of these "Partials" are coming from 404's against non-existent files (_custom.css, etc.).
 ====== Check In ====== ====== Check In ======
  
Line 838: Line 841:
 </code> </code>
  
 +==== #34 ====
 +**HTTP requests:**
 +<code>
 +GET /xul/20110311.001444/server/skin/custom.js HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/auth_custom.properties HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/offline_custom.properties HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/common_custom.properties HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/circ_custom.properties HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/patron_custom.properties HTTP/1.1
 +POST /osrf-gateway-v1 HTTP/1.1
 +POST /osrf-gateway-v1 HTTP/1.1
 +</code>
 +
 +**Gateway calls:**
 +<code>
 +open-ils.actor.user.transactions.history.have_balance.ids.authoritative
 +open-ils.actor.user.fleshed.retrieve.authoritative
 +</code>
  
 ====== Item Status ====== ====== Item Status ======
Line 883: Line 904:
 GET /xul/20110311.001444/server/locale/en-US/circ_custom.properties HTTP/1.1 GET /xul/20110311.001444/server/locale/en-US/circ_custom.properties HTTP/1.1
 GET /xul/20110311.001444/server//cat/util.js HTTP/1.1 GET /xul/20110311.001444/server//cat/util.js HTTP/1.1
 +</code>
 +
 +**Gateway calls:** None
 +
 +==== #35 ====
 +**HTTP requests:**
 +<code>
 +GET /xul/20110311.001444/server/skin/custom.js HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/auth_custom.properties HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/offline_custom.properties HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/common_custom.properties HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/cat_custom.properties HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/circ_custom.properties HTTP/1.1
 +GET /xul/20110311.001444/server/skin/custom.js HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/auth_custom.properties HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/offline_custom.properties HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/common_custom.properties HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/cat_custom.properties HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/circ_custom.properties HTTP/1.1
 </code> </code>
  
Line 1082: Line 1122:
 </code> </code>
  
 +==== #36 ====
 +
 +**HTTP requests:**
 +<code>
 +GET /xul/rel_2_0_6/server/skin/custom.js HTTP/1.1
 +GET /js/dojo/openils/opac/nls/en/opac.js HTTP/1.1
 +GET /js/dojo/openils/opac/nls/en-us/opac.js HTTP/1.1
 +GET /js/dojo/openils/widget/nls/en/Searcher.js HTTP/1.1
 +GET /js/dojo/openils/widget/nls/en-us/Searcher.js HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +POST /osrf-gateway-v1 HTTP/1.1
 +POST /osrf-gateway-v1 HTTP/1.1
 +POST /osrf-gateway-v1 HTTP/1.1
 +POST /osrf-gateway-v1 HTTP/1.1
 +POST /osrf-gateway-v1 HTTP/1.1
 +POST /osrf-gateway-v1 HTTP/1.1
 +POST /osrf-gateway-v1 HTTP/1.1
 +POST /osrf-gateway-v1 HTTP/1.1
 +</code>
 +
 +**Gateway calls:**
 +<code>
 +open-ils.auth.session.retrieve
 +open-ils.actor.patron.settings.retrieve
 +open-ils.search.biblio.lit_form_map.retrieve.all
 +open-ils.search.biblio.item_form_map.retrieve.all
 +open-ils.search.biblio.bib_level_map.retrieve.all
 +open-ils.search.biblio.audience_map.retrieve.all
 +open-ils.search.biblio.item_type_map.retrieve.all
 +open-ils.circ.copy_location.retrieve.all
 +</code>
  
scratchpad/xulrunner_caching_comparison.1307564242.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.