- Issue created by @rahul_sankrit
- Status changed to Postponed: needs info
7 months ago 3:06pm 25 May 2024 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Can you please share:
drush cget cdn.settings
drush cget core.extension
Otherwise I can't help you 😅
- 🇷🇸Serbia levmyshkin Novi Sad, Serbia
Hi Wim Leers, I faced with the same problem, here are my configs:
cdn.settings
_core: default_config_hash: FGYrMvt5Li0Jm92wyoGSiFFNoI_WqcHTeNDMq4jHId0 langcode: en status: true mapping: type: simple conditions: { } domain: cdn-static.replaced.com scheme: // farfuture: status: false stream_wrappers: - public
Locally
drush cget core.extension
doesn't displaycdn: 0
, but this module is enabled on Production:$ drush cget core.extension _core: default_config_hash: R4IF-ClDHXxblLcG0L7MgsLvfBIMAvi_skumNFQwkDc module: abjs: 0 addtoany: 0 admin_toolbar: 0 admin_toolbar_links_access_filter: 0 admin_toolbar_tools: 0 allow_iframed_site: 0 custom_365_breadcrumbs: 0 custom_365_signup: 0 custom_a365_segment: 0 custom_academic: 0 custom_ad: 0 custom_ad_free_trial_form: 0 custom_ad_upgrade: 0 custom_add_to_head: 0 custom_api: 0 custom_breadcrumb_blocks: 0 custom_cj: 0 custom_ckeditor: 0 custom_config_server: 0 custom_core: 0 custom_cs2_altiflex: 0 custom_cs_widget: 0 custom_custom: 0 custom_custom_404: 0 custom_custom_404_slack: 0 custom_custom_redirect: 0 custom_dams: 0 custom_domain: 0 custom_domain_a365: 0 custom_domain_ru: 0 custom_downloads: 0 custom_dss: 0 custom_editor_image_wrap: 0 custom_entity_share: 0 custom_eula: 0 custom_events: 0 custom_extension: 0 custom_geo_redirect: 0 custom_geoip: 0 custom_global_search: 0 custom_go_promo: 0 custom_google_sheet_submit: 0 custom_grad_promo: 0 custom_job_postings: 0 custom_launchpad: 0 custom_legacy_core: 0 custom_marketo: 0 custom_navigation_api: 0 custom_navigation_blocks: 0 custom_nbsp: 0 custom_nofollow_action: 0 custom_onetrust: 0 custom_pagemap: 0 custom_proxy_id: 0 custom_raven: 0 custom_sales_enablement: 0 custom_shared: 0 custom_signature: 0 custom_sitemap: 0 custom_superscript: 0 custom_university_domains: 0 custom_user: 0 custom_variator: 0 custom_video: 0 custom_video_usage_checker: 0 custom_waf: 0 custom_webinars_export: 0 custom_whats_new_external: 0 custom_workshop: 0 auditfiles: 0 automated_cron: 0 backup_migrate: 0 better_exposed_filters: 0 block: 0 block_content: 0 block_exclude_pages: 0 breakpoint: 0 captcha: 0 cdn: 0 cdn_ui: 0 ckeditor: 0 ckeditor_inserthtml: 0 ckeditor_paste_filter: 0 ckeditor_templates: 0 clientside_validation: 0 clientside_validation_jquery: 0 config: 0 config_filter: 0 config_ignore: 0 config_split: 0 config_translation: 0 content_moderation: 0 content_translation_redirect: 0 contextual: 0 csp: 0 csv_serialization: 0 ctools: 0 ctools_block: 0 datetime: 0 datetime_range: 0 domain: 0 domain_access: 0 domain_alias: 0 domain_config: 0 domain_config_ui: 0 domain_content: 0 domain_language_negotiation: 0 domain_path: 0 domain_robots_txt: 0 dynamic_page_cache: 0 editor: 0 embed: 0 entity_browser: 0 entity_browser_entity_form: 0 entity_embed: 0 entity_reference_revisions: 0 entity_share: 0 entity_share_client: 0 entity_share_diff: 0 entity_share_server: 0 field: 0 field_group: 0 field_tools: 0 field_ui: 0 file: 0 filter: 0 google_analytics: 0 google_api_client: 0 google_tag: 0 hal: 0 health_check: 0 image: 0 image_captcha: 0 imagecache_external: 0 inline_entity_form: 0 inline_form_errors: 0 jquery_ui: 0 jquery_ui_datepicker: 0 jquery_ui_slider: 0 jquery_ui_touch_punch: 0 jsonapi: 0 language: 0 link: 0 link_attributes: 0 link_attributes_menu_link_content: 0 linkit: 0 locale: 0 maxlength: 0 media: 0 media_directories: 0 media_directories_editor: 0 media_directories_ui: 0 media_library: 0 memcache: 0 menu_item_extras: 0 menu_link_content: 0 menu_position: 0 menu_ui: 0 metatag: 0 metatag_facebook: 0 metatag_open_graph: 0 metatag_twitter_cards: 0 metatag_views: 0 migrate: 0 migrate_drupal: 0
I can see that another sites with the same module and the same cdn.settings are not using CDN for image styles and shows thumbnails directly from Drupal.
I couldn't find how to enable Far-Future via admin panel:
farfuture: status: false
But it looks like it needs for a patch:
https://www.drupal.org/project/cdn/issues/3179753 ✨ Improve far-future support: generate dynamically generated files automatically (f.e. image style derivatives) Needs workAlso there is Drupal 9.5 with CDN links for image styles, for Drupal 10.3 images styles have Drupal internal paths.
How to disable using CDN links for image styles, it looks like
farfetch: false
doesn't disable generating CDN links for image styles.I'm still investigating this problem.