Table of contents
Preheat by Link header
Preheating or prefetching improves performance and cache hit ratios by automatically caching resources and related pages without waiting for them to be directly requested.
CacheFly preheating/prefetching is controlled through HTTP link headers sent by your origin containing the relevant URL and the keyword "prefetch" or "next". For example:
Link: <https://example.com>; rel="prefetch"
You can enable the Preheat by Link header option for individual CacheFly services to act on such HTTP link headers. See more on creating and managing a service.
Scroll the graphics in this step horizontally to see all the screens, and where to find this function for a given CacheFly service.
Enabling Preheat by Link header
To enable Preheat by Link header for a specific service, first navigate to the OPTIONS for that service (Configuration > Services > [SERVICE NAME] > OPTIONS in the left-hand menu).
Click on OPTIONS to expand the menu, then click on Preheat by Link header, or scroll down until you reach the Preheat by Link header section.
If the button/toggle to the right of the mention Preheat by Link header displays Disabled, then you can enable it as follows:
Click on the button/toggle labeled Disabled
A popup window is displayed asking you to confirm your choice
When you click on the red button Yes, the button/toggle will display Enabled and will also turn from gray to blue. A confirmatory message is also displayed briefly at the top right of the screen.
Scroll the graphics in this step horizontally to see all the screens.