fastly.ff.visits_this_service

INTEGER, read-only.

Available in all subroutines.

The number of prior visits made on behalf of this service regardless of POP.

Try it out

fastly.ff.visits_this_service is used in the following solution recipes, which show real world use cases. Click RUN to provision a Fastly service, execute the code on Fastly, and see how the function behaves.

Geofencing / geoblocking content by region

Group countries to cache content by custom regions or reject requests from some regions entirely.

Image transformation classes

Use custom, predefined classnames like large, medium, small, teaser, thumb, or article to control Fastly Image Optimizer and optionally prevent end-user access to native properties like 'width'.

User contributed notes

We welcome comments that add use cases, ideas, tips, and caveats. All comments will be moderated before publication. To post support questions, visit our support center and we'll find you the help you need.