Hi,
We have developed separate component for managing header / footer. This component / template generate JSON which has header / footer markup. We have some other parties which needs this header / footer so created JSON for easy consumption.
For example:
{
headerDiv : <div> header div here </div>
footerDiv : <div> footer div here </div>
}
We read this JSON back and add the headerDiv / footerDiv / css / js to the AEM page. So now if we have 10K pages each time there is change in header / footer - then cache clear of all these 10K page needs to be done. This is because headerDiv & footerDiv are part of each page.
So thinking to implement SSI for header / footer includes so that if header / footer changes it will start automatically reflecting on all pages.
So wanted to check advantages and disavantages of SSI with this group:
1) Will there be any performance hit in page load time using SSI ? (now there will be 2 additional SSI calls)
2) Is it the case that if header SSI is slow then body will load and page will be without header. Now same page without header is cached in Akamai for sometime. Is there any way to resolve this ?
3) Has anyone followed this approach before ? Any other thing which i should consider.