Both sides previous revisionPrevious revisionNext revision | Previous revision |
scratchpad:xulrunner_caching_comparison [2011/06/08 16:19] – 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 |
^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) Partial (#34) | | ^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 ====== |
| |
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> |
| |