This page demonstrate Megaparam, a pattern to statically render a complex combination of parameters.
This example uses 2 parameters: theme, and company. Both are stored in the cookies.
Some theme/company combinations are pre-rendered statically, some will be rendered on-the-fly.
See our article for more insights: M the Megaparameter