Revision as of 22:43, April 5, 2019 by Llannoye (talk | contribs) (Resource synchronization mechanism compatibility)
Jump to: navigation, search

Static Resource Synchronization

Starting in release 9.0.00x.xx, Genesys Co-browse can cover web sites that are fully authenticated, without any need for deploying and configuring intermediate proxy equipment.

Genesys Co-browse can synchronize resources that are placed behind authentication.

This feature also allows us to sync resources without proxying them through Co-browse server and this makes Co-browse tuning easier (no need to set allowedExternalDomains option, which is a big problem especially for Cloud).

Slave side is supposed to load more quickly since resources are stored on Co-browser server and are not taken from their original host and proxied every time. (This however will not be true for first session establishment, when resources are not cached yet, but will be true for all further sessions)

The resources can be images, css stylesheets, fonts, and resources from style tags.

Configuring static resource synchronization

  • The [redis] cache.ttl configuration option specifies the retention policy for 2-level cache and is used to determine how much time the resource will be stored. This option is set to 1d by default. Note that the retention policy for 1-level cache (local cache) is 30 minutes, and is not configurable.


note about allowedExternalDomains:

resource is cached even if its location is not included in allowedExternalDomains configuration option

when resource is not cached successfully, there is an attempt to load it directly from its original location on agent side and this is done even if location is not included in allowedExternalDomains

Resource synchronization mechanism compatibility

Images in <img> tags

GCB imgtag2.png

CSS from <link> tags

GCB linktag2.png

CSS from <style> tags

GCB styletag2.png

Limitations

  • pseudoHover for cached files is not supported. Hover effects can work improperly for elements whose styles are described in cached CSS files or style tags.
  • If a resource for caching is received from a third-party domain, the CORS headers must be correctly set, since the Genesys Co-browse script on the master-side needs to access its content.
Comments or questions about this documentation? Contact us for support!