You are here

Files in Fastly 8.3

Primary tabs

File namesort descending Location Namespace Description
increase_timeouts_long_jobs_pass.html.twig fastly_edge_modules/templates/increase_timeouts_long_jobs_pass.html.twig if (req.http.x-edge-module-timeout) { set bereq.first_byte_timeout = std.atof(req.http.x-edge-module-timeout); }
increase_timeouts_long_jobs_recv.html.twig fastly_edge_modules/templates/increase_timeouts_long_jobs_recv.html.twig if (req.restarts == 0) { unset req.http.x-edge-module-timeout; } {% for rule in rules %} if (req.url ~ "{{ rule.pattern }}") { set req.http.x-pass = "1"; set req.http.x-edge-module-timeout = "{{ rule.timeout…
MobileDeviceDetectionForm.php src/Form/MobileDeviceDetectionForm.php
mobile_device_detection_deliver.html.twig fastly_edge_modules/templates/mobile_device_detection_deliver.html.twig # Execute only on the edge nodes if ( fastly.ff.visits_this_service == 0 && !req.http.Fastly-Debug ) { unset resp.http.Vary:X-UA-Device; }
mobile_device_detection_fetch.html.twig fastly_edge_modules/templates/mobile_device_detection_fetch.html.twig # Add X-UA-Device Vary for HTML if ( beresp.http.Content-Type ~ "text/html" ) { set beresp.http.Vary:X-UA-Device = ""; }
mobile_device_detection_recv.html.twig fastly_edge_modules/templates/mobile_device_detection_recv.html.twig # Mobile device detection for mobile themes set req.http.X-UA-Device = "desktop"; if (req.http.User-Agent ~ "(?i)ip(hone|od)") { set req.http.X-UA-Device = "mobile"; } elsif (req.http.User-Agent ~…
NetaceaIntegrationForm.php src/Form/NetaceaIntegrationForm.php
netacea_integration_deliver.html.twig fastly_edge_modules/templates/netacea_integration_deliver.html.twig call netacea_deliver;
netacea_integration_init.html.twig fastly_edge_modules/templates/netacea_integration_init.html.twig backend F_MitSvc { .between_bytes_timeout = 0.5s; .connect_timeout = 1s; .dynamic = true; .first_byte_timeout = 1s; .host = "mitigations.netacea.net"; .max_connections = 200; .port = "443"; .share_key =…
netacea_integration_recv.html.twig fastly_edge_modules/templates/netacea_integration_recv.html.twig # Change the shielding condition to account for restarts due to bot detection set var.fastly_req_do_shield = (req.restarts <= 1); # Invoke Netacea Bot Detection checking call netacea_recv;
OtherCmsIntegrationForm.php src/Form/OtherCmsIntegrationForm.php
other_cms_integration_miss.html.twig fastly_edge_modules/templates/other_cms_integration_miss.html.twig {% if override_backend_hostname == "DEFAULT" %} # Intentionally empty {% else %} if ( req.backend.is_origin && req.http.X-ExternalCMS ) { set bereq.http.host = "{{ override_backend_hostname }}"; } {% endif %}
other_cms_integration_pass.html.twig fastly_edge_modules/templates/other_cms_integration_pass.html.twig {% if override_backend_hostname == "DEFAULT" %} # Intentionally empty {% else %} if ( req.backend.is_origin && req.http.X-ExternalCMS ) { set bereq.http.host = "{{ override_backend_hostname }}"; } {% endif %}
other_cms_integration_recv.html.twig fastly_edge_modules/templates/other_cms_integration_recv.html.twig # Make sure X-ExternalCMS is not set before proceeding if ( req.restarts == 0 ) { remove req.http.X-ExternalCMS; } # Extract first part of the path from a URL if ( req.url.path ~ "^/?([^:/\s]+).*$" ) { # check if first part of the url is in…
PurgeOptionsForm.php src/Form/PurgeOptionsForm.php Drupal\fastly\Form
README.txt README.txt Fastly ======================= http://drupal.org/project/fastly What Is Fastly? --------------- Fastly is a CDN (Content Delivery Network), which is to say, we speed up delivery of your website and its content to your users. When your client…
README.txt vcl_snippets/README.txt These VCL snippets will be uploaded by the module. You can also upload them by hand. You should name them drupalmodule_<function_name> e.g. recv.vcl will become drupalmodule_recv In addition to these snippets you need to add a request…
RedirectHostsForm.php src/Form/RedirectHostsForm.php
redirect_hosts.html.twig fastly_edge_modules/templates/redirect_hosts.html.twig {% for rule in rules %} if (req.http.host == "{{ rule.source }}") { set req.http.host = "{{ rule.destination }}"; {% if rule.ignore_path %} set req.url = "/"; {% endif %} error 801; } {% endfor %}
StaleContentOptionsForm.php src/Form/StaleContentOptionsForm.php Drupal\fastly\Form
State.php src/State.php Drupal\fastly
SurrogateKeyGenerator.php src/EventSubscriber/SurrogateKeyGenerator.php Drupal\fastly\EventSubscriber
UrlRewritesForm.php src/Form/UrlRewritesForm.php
url_rewrites_miss.html.twig fastly_edge_modules/templates/url_rewrites_miss.html.twig {% for rule in rules %} if (req.backend.is_origin && req.url.path == "{{ rule.source }}") { set bereq.url = "{{ rule.destination }}"; } {% endfor %}
url_rewrites_pass.html.twig fastly_edge_modules/templates/url_rewrites_pass.html.twig {% for rule in rules %} if (req.backend.is_origin && req.url.path == "{{ rule.source }}") { set bereq.url = "{{ rule.destination }}"; } {% endfor %}
VclHandler.php src/VclHandler.php Drupal\fastly
Webhook.php src/Services/Webhook.php Drupal\fastly\Services
WebhookForm.php src/Form/WebhookForm.php Drupal\fastly\Form

Pages

Other projects