Both sides previous revisionPrevious revisionNext revision | Previous revision |
scratchpad:xulrunner_caching_comparison [2011/06/08 16:08] – phasefx | scratchpad:xulrunner_caching_comparison [2022/02/10 13:34] (current) – external edit 127.0.0.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 |
| ^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) Partial (#29) | | ^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) | 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 ====== |
| |
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> |
| |
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 ====== |
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 |
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 ====== |
</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 ====== |
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> |
| |
</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> |
| |