I’m contemplating creating an external snippet as a type of “Master Master Page” to be shared across 12+ templates.
Should I be concerned about any performance impact? Does the template perform File I/O on every Print Section + record that uses the snippet, or is the snippet read once and “cached / reused” for a given “Create Print Content” instance?
From what I can see, is that an external snippet won’t be stored in the OL Connect filestore when executing an OL Connect Workflow plugin in service mode but that there is only a reference file (*.rhtml) stored. If you would like to know the detail, I would rather recommend to submit a ticket via the support portal for this.
Tip: Please note that you can’t drop a snippet directly on a master page. Instead you may have to drop the snippet into an absolute positioned box.
Thank you Marten. I wouldn’t be using actual Master Pages. Several of our templates contain the same logo, address placement, footer, Contact Us page, Privacy Notices, etc. When there’s a change, there’s a change across multiple templates. The idea is to save these common elements as .HTML files, build a Workflow Process to serve them up via URL, and re-factor the templates to use the remote snippets.
My concern was, if I have a job with 100,000 records, would that mean 100,000 “hits” or “calls” to the URL that serves the snippet? Multiply that for templates that use multiple snippets, and again across multiple jobs.
Sander’s reply says that “remote content is indeed cached”, which is what I hoped to hear!