AddStaleHeaders.php |
src/EventSubscriber/AddStaleHeaders.php |
Drupal\fastly\EventSubscriber |
|
Api.php |
src/Api.php |
Drupal\fastly |
|
BlackfireIntegrationForm.php |
src/Form/BlackfireIntegrationForm.php |
|
|
blackfire_integration.html.twig |
fastly_edge_modules/templates/blackfire_integration.html.twig |
|
if (req.http.X-Blackfire-Query && req.http.Fastly-Client-IP ~ {{ acl }}) {
if (req.esi_level > 0) {
# ESI request should not be included in the profile.
# Instead you should profile them separately, each one
# in their… |
CacheTagsHash.php |
src/CacheTagsHash.php |
Drupal\fastly |
|
CacheTagsHashInterface.php |
src/CacheTagsHashInterface.php |
Drupal\fastly |
|
CacheTagsInvalidator.php |
src/CacheTagsInvalidator.php |
Drupal\fastly |
|
CorsHeadersForm.php |
src/Form/CorsHeadersForm.php |
|
|
cors_headers.html.twig |
fastly_edge_modules/templates/cors_headers.html.twig |
|
if (req.http.Origin && !resp.http.Access-Control-Allow-Origin && !resp.http.Access-Control-Allow-Methods) {
{% if origin == "anyone" %}
set resp.http.Access-Control-Allow-Origin = "*";
{% elseif origin ==… |
countryblock.html.twig |
fastly_edge_modules/templates/countryblock.html.twig |
|
if (fastly.ff.visits_this_service == 0 && client.geo.country_code ~ "(?i)^({{ countries | join('|') }})$") {
error 921 "[modly:countryblock]";
} |
CountryblockForm.php |
src/Form/CountryblockForm.php |
|
|
countryblock_error.html.twig |
fastly_edge_modules/templates/countryblock_error.html.twig |
|
if (obj.status == 921 && obj.response == "[modly:countryblock]") {
set obj.status = 403;
set obj.response = "Forbidden";
if (req.http.Fastly-Debug) {
set obj.http.Fastly-Country-Block = client.geo.country_code;
… |
CredentialCheck.php |
modules/fastlypurger/src/Plugin/Purge/DiagnosticCheck/CredentialCheck.php |
Drupal\fastlypurger\Plugin\Purge\DiagnosticCheck |
|
DatadomeIntegrationForm.php |
src/Form/DatadomeIntegrationForm.php |
|
|
datadome_integration_deliver.html.twig |
fastly_edge_modules/templates/datadome_integration_deliver.html.twig |
|
# copy datadome headers if it isn't datadome request
if (req.backend != datadome) {
declare local var.x-datadome-headers STRING;
set var.x-datadome-headers = urldecode(req.http.x-datadome-headers-pairs:x-datadome-headers);
if… |
datadome_integration_error.html.twig |
fastly_edge_modules/templates/datadome_integration_error.html.twig |
|
if (req.backend == datadome) {
restart;
} |
datadome_integration_fetch.html.twig |
fastly_edge_modules/templates/datadome_integration_fetch.html.twig |
|
if (req.backend == datadome) {
declare local var.status STRING;
set var.status = beresp.status;
# check that it is real ApiServer response
if (var.status != beresp.http.x-datadomeresponse) {
restart;
}
unset beresp.http.x-datadomeresponse;
# copy… |
datadome_integration_init.html.twig |
fastly_edge_modules/templates/datadome_integration_init.html.twig |
|
sub set_origin_header {
if (req.backend.is_origin) {
if (req.backend == datadome) {
set bereq.http.x-datadome-params:key = "{{ datadome_api_key }}";
set bereq.http.x-datadome-params:requestmodulename = "FastlyMagento";
set… |
datadome_integration_miss.html.twig |
fastly_edge_modules/templates/datadome_integration_miss.html.twig |
|
call set_origin_header; |
datadome_integration_pass.html.twig |
fastly_edge_modules/templates/datadome_integration_pass.html.twig |
|
call set_origin_header; |
datadome_integration_recv.html.twig |
fastly_edge_modules/templates/datadome_integration_recv.html.twig |
|
# Configure the regular expression below to match URLs that
# should be checked by DataDome
if (fastly.ff.visits_this_service == 0 && req.restarts == 0 && !(req.url.path ~ "{{ datadome_exclusion_ext }}" && (req.method… |
DisableCacheForm.php |
src/Form/DisableCacheForm.php |
|
|
disable_cache_deliver.html.twig |
fastly_edge_modules/templates/disable_cache_deliver.html.twig |
|
{% for rule in rules %}
{% if rule.mode in ['both','browser'] %}
if (req.url ~ "{{ rule.pattern }}" && fastly.ff.visits_this_service == 0 ) {
set resp.http.Cache-Control = "no-cache,… |
disable_cache_recv.html.twig |
fastly_edge_modules/templates/disable_cache_recv.html.twig |
|
{% for rule in rules %}
{% if rule.mode in ['both','fastly'] %}
if (req.url ~ "{{ rule.pattern }}") {
set req.http.x-pass = "1";
}
{% endif %}
{% endfor %} |
drush.services.yml |
drush.services.yml |
|
drush.services.yml |
fastly.api.php |
fastly.api.php |
|
|
fastly.drush.inc |
fastly.drush.inc |
|
Provides drush commands for Fastly related operations. |
fastly.info.yml |
fastly.info.yml |
|
fastly.info.yml |
fastly.install |
fastly.install |
|
Install, update, and uninstall functions for the Fastly module. |
fastly.libraries.yml |
fastly.libraries.yml |
|
fastly.libraries.yml |
fastly.links.menu.yml |
fastly.links.menu.yml |
|
fastly.links.menu.yml |
fastly.links.task.yml |
fastly.links.task.yml |
|
fastly.links.task.yml |
fastly.module |
fastly.module |
|
Contains fastly.module. |
fastly.permissions.yml |
fastly.permissions.yml |
|
fastly.permissions.yml |
fastly.routing.yml |
fastly.routing.yml |
|
fastly.routing.yml |
fastly.schema.yml |
config/schema/fastly.schema.yml |
|
config/schema/fastly.schema.yml |
fastly.services.yml |
fastly.services.yml |
|
fastly.services.yml |
FastlyCommands.php |
src/Commands/FastlyCommands.php |
Drupal\fastly\Commands |
|
FastlyEdgeModulesController.php |
src/Controller/FastlyEdgeModulesController.php |
Drupal\fastly\Controller |
|
FastlyEdgeModulesHelper.php |
src/Utility/FastlyEdgeModulesHelper.php |
Drupal\fastly\Utility |
|
FastlyImageFormatter.php |
src/Plugin/Field/FieldFormatter/FastlyImageFormatter.php |
Drupal\fastly\Plugin\Field\FieldFormatter |
|
fastlypurger.info.yml |
modules/fastlypurger/fastlypurger.info.yml |
|
modules/fastlypurger/fastlypurger.info.yml |
FastlyPurger.php |
modules/fastlypurger/src/Plugin/Purge/Purger/FastlyPurger.php |
Drupal\fastlypurger\Plugin\Purge\Purger |
|
FastlypurgerServiceProvider.php |
modules/fastlypurger/src/FastlypurgerServiceProvider.php |
Drupal\fastlypurger |
|
FastlySettingsForm.php |
src/Form/FastlySettingsForm.php |
Drupal\fastly\Form |
|
ForceCacheMissOnHardReloadForAdminsForm.php |
src/Form/ForceCacheMissOnHardReloadForAdminsForm.php |
|
|
force_cache_miss_on_hard_reload_for_admins_hash.html.twig |
fastly_edge_modules/templates/force_cache_miss_on_hard_reload_for_admins_hash.html.twig |
|
if ( req.http.Fastly-Client-IP ~ {{ acl }} && req.http.pragma ~ "no-cache" ) {
set req.hash += "NOCACHE";
} |
force_cache_miss_on_hard_reload_for_admins_recv.html.twig |
fastly_edge_modules/templates/force_cache_miss_on_hard_reload_for_admins_recv.html.twig |
|
if ( req.http.Fastly-Client-IP ~ {{ acl }} && req.http.pragma ~ "no-cache" ) {
set req.hash_always_miss = true;
} |
ImageOptimizerForm.php |
src/Form/ImageOptimizerForm.php |
Drupal\fastly\Form |
|
IncreaseTimeoutsLongJobsForm.php |
src/Form/IncreaseTimeoutsLongJobsForm.php |
|
|