Does the adapter have to receive the virgin body?

Asked by James H

Hello,

If I don't need the virgin body of the page (e.g. I just want to always return the same content to the user, no matter what the accessed page contains) can I instruct eCAP to stop retrieving it (in order to save time)?

Thanks,

James

Question information

Language:
English Edit question
Status:
Solved
For:
eCAP Edit question
Assignee:
No assignee Edit question
Solved by:
James H
Solved:
Last query:
Last reply:
Revision history for this message
Alex Rousskov (rousskov) said :
#1

The adapter does not have to receive the virgin body. If the adapter does not need the virgin body, it should call Host::Xaction::vbDiscard().

If your host application sends the virgin body even though the adapter has called vbDiscard, it is a bug that should be filed with the host application.

Please note that eCAP cannot control whether the host application itself retrieves the virgin body (e.g., from the disk cache or from the origin server). That decision is up to the host application.

Revision history for this message
James H (jules-verne) said :
#2

Thanks