Home


10.4.1 Break all pages into cacheable fragments

The online shop pages are broken into cacheable and non-cacheable fragments.

For example, the custom header, which varies on user ID, is its own fragment. The side menus are a separate fragment. The footer is a separate fragment. The body of the page is another separate fragment.

Any fragments with user-specific data are kept to a minimum size. That means, if a fragment is used to display a product and a rental plan together, and the rental plan is based on a business or residential user type, the fragment would be broken into two fragments.

Only the parameters required to uniquely create a fragment are passed to that fragment, and the cachespec.xml is being modified to work with these new fragments instead of caching the full pages.

+

Search Tips   |   Advanced Search