Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
scratchpad:xulrunner_caching_comparison [2011/06/08 16:15] – phasefx | scratchpad:xulrunner_caching_comparison [2013/10/10 13:09] – erohlfs |
---|
====== 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 |
^Check Out | False (#5) True (#13) | False (#23) Partial (#31) | | ^Check Out | False (#5) True (#13) | False (#23) Partial (#31) | |
^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) | | ^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 ====== |
| |
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> |
| |