Skip to main content

Fastly ignore certain query strings containing campaign tracking data

Comments

1 comment

  • Matthias Van Woensel

    Hi,

    Fastly works with versions. Each configuration change you make will need to happen on a copy of the current version, and then, the new version can be activated.

    mkdir normalizing_requests_for_better_cache_performance
    cd normalizing_requests_for_better_cache_performance
    

    create snippet:

    export FASTLY_SERVICE_ID=[YOUR_SERVICE_ID]
    
    fastly vcl snippet create --name=snippet_init --type=init --content="$(cat init.snippet)" --version=latest --autoclone
    fastly vcl snippet create --name=snippet_recv --type=recv --content="$(recv.snippet)" --version=latest --autoclone
    

    Activate:

    fastly service-version activate --version=latest
    0

Please sign in to leave a comment.