Previewing and testing VCL before activating it
Last updated July 06, 2016
Any time you upload VCL files you can preview and test the VCL prior to activating a new version of your service.
Previewing VCL before activation
To preview VCL prior to activating a service version.
- Log in to the Fastly web interface and click the Configure link.
- From the service menu, select the appropriate service.
- Click the Edit configuration button and then select Clone active. The service version page appears.
Click the Options button to open the Manage version menu and select Show VCL.
The VCL preview page appears.
Testing VCL configurations
You don't need a second account to test your VCL configurations. We recommend adding a new service within your existing account that's specifically designed for testing. A name like "QA" or "testing" or "staging" makes distinguishing between services much easier.
Once created, simply point your testing service to your testing or QA environment. Edit your Fastly configurations for the testing service as if you were creating them for production. Preview your VCL, test things out, and tweak them to get them perfect.
When your testing is complete, make the same changes in your production service that you made to your testing service. If you are using custom VCL, upload the VCL file to the production service you'll be using.
Back to Top