function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Marc BehrMarc Behr 

How can I view the state size of a visualforce page used for a community

I know how to see the data for standard VF pages (checking the Show View State in Development Mode flag on the account), but we have a contractor developing some new pages for a Community and I want to see how much of the vew state is being used for this page in order to see how close to the limit we are today. I thinbk that the way that they developed the page, we are very close to the limit, but I want to confirm my suspicions. The only way that I have found to view the page itself is by logging in as a community user, which eliminates the ability to use development mode.
SandhyaSandhya (Salesforce Developers) 
Hi Marc,

Please refer below post for similar discussion that may help you.

http://salesforce.stackexchange.com/questions/8992/debug-viewstate-problems-in-force-com-sites-vf-pages
 
http://salesforce.stackexchange.com/questions/3352/how-do-i-get-information-about-the-view-state-on-a-force-com-site-page
 
Hope this helps you!

Please mark it as Best Answer if my reply was helpful. It will make it available for other as the proper solution.
 
Thanks and Regards
Sandhya