You need to sign in to do that
Don't have an account?

Governor limits when using 4 VF pages in one VF page.
A Question to the boarders:
If I am using apex:include to include 4 VF pages in another VF page, Will it take governor limits for each separately Or is it combined? And suppose that those 4 VF pages have their own controllers. I think the limits are separate for each page. Like to know what others think about this. Probably someone has a solid answer....
Thanks....
limits are page request based, so I would expect all pages loaded are seen as a single request, with a single set of limits.
All Answers
limits are page request based, so I would expect all pages loaded are seen as a single request, with a single set of limits.
Sdry is correct.
Each transaction will have a governor limit equal to the initial request (e.g. if it is a Visualforce page, the VF governor limits apply, even if DMLs that call triggers are in effect).
I created three pages that illusrate this effect:
The source is as follows:
incl.page:
inc1.page:
inc2.page:
Inc1.class:
inc2.class:
When you read the logs, you will see the cumulative usage is 2 statements, 2 rows returned. This empirically proves that the usage is cumulative across all pages.