Monday, August 20, 2012

Working with 10 KB restriction with Portal Header and Footer

One of the restrictions (out of hundreds!) the Force.com platform places on Portal (Customer/Partner) is the footer and header size cannot be more than 10 KB.  While this may help to increase the speed at the same time, it inhibits the custom long headers and footers that some customers have.

One of the work arounds this issue is to minify the HTML, JavaScript and CSS that is there in the headers.  It really reduced the size of the Headers and Footers.  Will Peavy created this beautiful page to  minify HTML and all of its content.  The note of caution is see that the jQuery/JavaScript is well formed otherwise it becomes very difficult to debug.

No comments:

Post a Comment