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:03] 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 17: Line 19:
 Cell content:  First value, True or False or Partial for cache use (of regular files, not the gateway) on first invocation after the login process.  Last value, True or False or Partial for cache use on last invocation. Cell content:  First value, True or False or Partial for cache use (of regular files, not the gateway) on first invocation after the login process.  Last value, True or False or Partial for cache use on last invocation.
  
-|                   ^EG 1.6.1.4 & XR 1.9.0.17           ^EG 2.0.3 & XR 1.9.2.17           +|                   ^EG 1.6.1.4 & XR 1.9.0.17           ^EG 2.0.3 & XR 1.9.2.17                   
-^Check In           | False (#1)  True (#2)  True (#11) | False (#19) Partial (#20)       +^Check In           | False (#1)  True (#2)  True (#11) | False (#19) Partial (#20) Partial (#29) 
-^Patron Registration| False (#3)  True (#4)  True (#12) | False (#21) Partial (#22)       +^Patron Registration| False (#3)  True (#4)  True (#12) | False (#21) Partial (#22) Partial (#30) 
-^Check Out          | False (#5)  True (#13)            | False (#23)                     +^Check Out          | False (#5)  True (#13)            | False (#23) Partial (#31)               
-^Patron Items Out   | False (#6)  True (#14)            | False (#24)                     +^Patron Items Out   | False (#6)  True (#14)            | False (#24) Partial (#32)               
-^Patron Holds       | False (#7)  True (#15)            | False (#25)                     +^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)                                         |+^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 91: Line 94:
 ==== #20 ==== ==== #20 ====
  
 +**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
 +</code>
 +
 +**Gateway calls:** None
 +
 +==== #29 ====
 **HTTP requests:** **HTTP requests:**
 <code> <code>
Line 322: Line 338:
 POST /osrf-http-translator HTTP/1.1 POST /osrf-http-translator HTTP/1.1
 GET /js/dojo/dijit/themes/images/buttonHover.png HTTP/1.1 GET /js/dojo/dijit/themes/images/buttonHover.png HTTP/1.1
 +</code>
 +
 +**Gateway calls:** None
 +
 +==== #30 ====
 +**HTTP requests:**
 +<code>
 +GET /css/skin/default/register_custom.css HTTP/1.1
 +GET /js/dojo/openils/User/nls/en/User.js HTTP/1.1
 +GET /js/dojo/openils/User/nls/en-us/User.js HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +GET /js/dojo/openils/widget/nls/en/AutoFieldWidget.js HTTP/1.1
 +GET /js/dojo/openils/widget/nls/en-us/AutoFieldWidget.js HTTP/1.1
 +GET /js/dojo/openils/actor/nls/en/register.js HTTP/1.1
 +GET /js/dojo/openils/actor/nls/en-us/register.js HTTP/1.1
 +GET /css/skin/default/register_custom.css HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 </code> </code>
  
Line 489: Line 534:
 open-ils.actor.user.fines.summary.authoritative open-ils.actor.user.fines.summary.authoritative
 </code> </code>
 +
 +==== #31 ====
 +**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/patron_custom.properties HTTP/1.1
 +POST /osrf-gateway-v1 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/patron_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/offline_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
 +POST /osrf-gateway-v1 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/circ_custom.properties 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
 +POST /osrf-gateway-v1 HTTP/1.1
 +</code>
 +
 +**Gateway calls:**
 +<code>
 +open-ils.actor.user.retrieve_id_by_barcode_or_username
 +open-ils.actor.user.fleshed.retrieve_by_barcode.authoritative
 +open-ils.actor.user.fines.summary.authoritative
 +open-ils.actor.user.checked_out.count.authoritative
 +open-ils.actor.usergroup.members.balance_owed.authoritative
 +open-ils.actor.note.retrieve.all.authoritative
 +open-ils.actor.note.retrieve.all.authoritative
 +open-ils.actor.user.hold_requests.count.authoritative
 +open-ils.circ.open_non_cataloged_circulation.user.authoritative
 +open-ils.actor.user.checked_out.count.authoritative
 +open-ils.actor.user.checked_out.count.authoritative
 +open-ils.actor.user.checked_out.count.authoritative
 +open-ils.actor.user.fines.summary.authoritative
 +</code>
 +
 +
  
 ====== Patron Items Out ====== ====== Patron Items Out ======
Line 545: Line 648:
 GET /xul/20110311.001444/server/skin/custom.js HTTP/1.1 GET /xul/20110311.001444/server/skin/custom.js HTTP/1.1
 GET /xul/20110311.001444/server/patron/items_overlay.xul HTTP/1.1 GET /xul/20110311.001444/server/patron/items_overlay.xul 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/patron_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
 +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.actor.user.checked_out.authoritative
 +open-ils.actor.user.checked_in_with_fines.authoritative
 +open-ils.actor.user.checked_out.count.authoritative
 +open-ils.actor.usergroup.members.balance_owed.authoritative
 +open-ils.circ.open_non_cataloged_circulation.user.authoritative
 +</code>
 +
 +=== #32 ===
 +**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/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/offline_custom.properties HTTP/1.1
Line 630: Line 759:
 open-ils.circ.holds.id_list.retrieve.authoritative open-ils.circ.holds.id_list.retrieve.authoritative
 </code> </code>
 +
 +==== #33 ====
 +
 +**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/patron_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
 +POST /osrf-gateway-v1 HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/patron_custom.properties HTTP/1.1
 +GET /xul/20110311.001444/server/locale/en-US/circ_custom.properties HTTP/1.1
 +GET /js/dojo/openils/User/nls/en/User.js HTTP/1.1
 +GET /js/dojo/openils/User/nls/en-us/User.js HTTP/1.1
 +</code>
 +
 +**Gateway calls:**
 +<code>
 +open-ils.circ.holds.id_list.retrieve.authoritative
 +</code>
 +
  
 ====== Patron Billing ====== ====== Patron Billing ======
Line 684: 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 729: 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 858: Line 1052:
  
 ===== EG 2.0.3 & XR 1.9.2.17 ===== ===== EG 2.0.3 & XR 1.9.2.17 =====
 +
 +==== #28 ====
 +
 +**HTTP requests:**
 +<code>
 +GET /xul/rel_2_0_6/server/skin/custom.js HTTP/1.1
 +GET /opac/en-US/skin/default/xml/advanced.xml?nps=1 HTTP/1.1
 +GET //opac//skin/default/css/layout.css HTTP/1.1
 +GET //opac//common/css/mediumfont.css HTTP/1.1
 +GET //opac//common/js/slimtree.js HTTP/1.1
 +GET //opac//common/js/utils.js HTTP/1.1
 +GET //opac//common/js/CGI.js HTTP/1.1
 +GET //opac//common/js/md5.js HTTP/1.1
 +GET //opac//common/js/JSON_v1.js HTTP/1.1
 +GET //opac//theme/default/css/colors.css HTTP/1.1
 +GET //opac//common/js/config.js HTTP/1.1
 +GET //opac//common/js/en-US/OrgTree.js HTTP/1.1
 +GET //opac//common/js/opac_utils.js HTTP/1.1
 +GET /IDL2js?mvr,bre,aou,aout,pgt,lasso,cmf,cmc,cmsa,cam,cifm,clfm,citm,cblvl HTTP/1.1
 +GET //opac//common/js/en-US/FacetDefs.js HTTP/1.1
 +GET //opac//common/js/OrgLasso.js HTTP/1.1
 +GET //opac//common/js/org_utils.js HTTP/1.1
 +GET //opac//common/js/RemoteRequest.js HTTP/1.1
 +GET //opac//common/js/init.js HTTP/1.1
 +GET //opac//common/js/added_content.js HTTP/1.1
 +GET //opac//skin/default/js/sidebar.js HTTP/1.1
 +GET //opac//skin/default/js/password_reset.js HTTP/1.1
 +GET //opac//skin/default/js/advanced.js HTTP/1.1
 +GET //opac//skin/default/js/depth_selector.js HTTP/1.1
 +GET //opac//skin/default/js/adv_global.js HTTP/1.1
 +GET //opac//images/small_logo.jpg HTTP/1.1
 +GET //opac//theme/reddish/css/colors.css HTTP/1.1
 +GET /opac/images/progressbar_green.gif HTTP/1.1
 +GET /opac/images/eg_tiny_logo.jpg HTTP/1.1
 +GET /js/dojo/openils/opac/nls/opac.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/FacetSidebar.js HTTP/1.1
 +GET /js/dojo/openils/widget/Searcher.js HTTP/1.1
 +GET /js/dojo/openils/I18N.js HTTP/1.1
 +POST /osrf-http-translator HTTP/1.1
 +GET /js/dojo/openils/widget/nls/Searcher.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-http-translator HTTP/1.1
 +POST /osrf-gateway-v1 HTTP/1.1
 +GET /reports/fm_IDL.xml?class=au 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
 +GET /reports/fm_IDL.xml?class=acpl 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.item_type_map.retrieve.all
 +open-ils.circ.copy_location.retrieve.all
 +open-ils.search.biblio.audience_map.retrieve.all
 +open-ils.search.biblio.bib_level_map.retrieve.all
 +</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.1307563402.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.