8.5.1 - If redirecting another domain to main site, page cache can cache images with redirected domain in img path instead of main sites domain

Permalink 9 4 Browser Info Environment
So I have a site called mysite.com and a domain that is redirected to it called redirected.com

The issue is some images weren't showing on mysite.com because the cache has saved the path as e.g.https://www.redirected.com/application/files/6515/7060/9062/img_name...

So the cache is beating the redirect somehow?
Clearing cache means the images show again, so it then picks up the right domain.

I have disabled just Full Page Caching now and will monitor it.


Status: New
madesimplemedia
koalasoft replied on at Permalink Reply
koalasoft
I can confirm this.i have two domains working with one page, one that will completely avoid any caching gzip and the main URL. When switching between those two, urls are linked to the wrong site - which in my case is either : page.de or site.koalasoft.de/page/ ... maybe this is more a custom case since i use a subfolder there - nonetheless urels should be just relative to CCM_REL in my opinion.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.1
Version Installed - 8.5.1
Database Version - 20190301133300

# concrete5 Packages
Block Designer (2.1.2), Google reCAPTCHA (1.0.0), Instafolio (1.6), Navigator (0.9.1), Page List+ (1.1.4), Quick Links (3.0.0), Schema.org Contact Details (1.0.0), Simple Slider (1.0), Twitter Feed Block Components (1.0.1)

# concrete5 Overrides
blocks/autonav/templates/responsive_nav/images/Thumbs.db, blocks/autonav/templates/responsive_nav/images/sprite.png, blocks/autonav/templates/responsive_nav/images, blocks/autonav/templates/responsive_nav/view.css, blocks/autonav/templates/responsive_nav/view.js, blocks/autonav/templates/responsive_nav/view.php, blocks/autonav/templates/responsive_nav, blocks/autonav/templates/sitemap/view.php, blocks/autonav/templates/sitemap, blocks/autonav/templates, blocks/autonav, blocks/navigator/templates/responsive_navigator/images/Thumbs.db, blocks/navigator/templates/responsive_navigator/images/sprite.png, blocks/navigator/templates/responsive_navigator/images, blocks/navigator/templates/responsive_navigator/view.css, blocks/navigator/templates/responsive_navigator/view.js, blocks/navigator/templates/responsive_navigator/view.php, blocks/navigator/templates/responsive_navigator, blocks/navigator/templates, blocks/navigator, blocks/nl_brochure_link/Thumbs.db, blocks/nl_brochure_link/add.php, blocks/nl_brochure_link/auto.js, blocks/nl_brochure_link/composer.php, blocks/nl_brochure_link/config.json, blocks/nl_brochure_link/controller.php, blocks/nl_brochure_link/db.xml, blocks/nl_brochure_link/edit.php, blocks/nl_brochure_link/form.php, blocks/nl_brochure_link/icon.png, blocks/nl_brochure_link/view.css, blocks/nl_brochure_link/view.js, blocks/nl_brochure_link/view.php, blocks/nl_brochure_link, blocks/nl_client_testimonial/add.php, blocks/nl_client_testimonial/auto.js, blocks/nl_client_testimonial/composer.php, blocks/nl_client_testimonial/config.json, blocks/nl_client_testimonial/controller.php, blocks/nl_client_testimonial/db.xml, blocks/nl_client_testimonial/edit.php, blocks/nl_client_testimonial/form.php, blocks/nl_client_testimonial/icon.png, blocks/nl_client_testimonial/view.css, blocks/nl_client_testimonial/view.js, blocks/nl_client_testimonial/view.php, blocks/nl_client_testimonial, blocks/nl_clients/add.php, blocks/nl_clients/config.json, blocks/nl_clients/controller.php, blocks/nl_clients/db.xml, blocks/nl_clients/edit.php, blocks/nl_clients/form.php, blocks/nl_clients/icon.png, blocks/nl_clients/view.php, blocks/nl_clients, blocks/nl_download/add.php, blocks/nl_download/config.json, blocks/nl_download/controller.php, blocks/nl_download/db.xml, blocks/nl_download/edit.php, blocks/nl_download/form.php, blocks/nl_download/icon.png, blocks/nl_download/view.php, blocks/nl_download, blocks/nl_faq/add.php, blocks/nl_faq/auto.js, blocks/nl_faq/composer.php, blocks/nl_faq/config.json, blocks/nl_faq/controller.php, blocks/nl_faq/db.xml, blocks/nl_faq/edit.php, blocks/nl_faq/form.php, blocks/nl_faq/icon.png, blocks/nl_faq/view.css, blocks/nl_faq/view.js, blocks/nl_faq/view.php, blocks/nl_faq, blocks/nl_image_and_copy/Thumbs.db, blocks/nl_image_and_copy/add.php, blocks/nl_image_and_copy/config.json, blocks/nl_image_and_copy/controller.php, blocks/nl_image_and_copy/db.xml, blocks/nl_image_and_copy/edit.php, blocks/nl_image_and_copy/form.php, blocks/nl_image_and_copy/icon.png, blocks/nl_image_and_copy/view.php, blocks/nl_image_and_copy, blocks/nl_image_link/add.php, blocks/nl_image_link/config.json, blocks/nl_image_link/controller.php, blocks/nl_image_link/db.xml, blocks/nl_image_link/edit.php, blocks/nl_image_link/form.php, blocks/nl_image_link/icon.png, blocks/nl_image_link/view.php, blocks/nl_image_link, blocks/nl_images_xtwo/add.php, blocks/nl_images_xtwo/config.json, blocks/nl_images_xtwo/controller.php, blocks/nl_images_xtwo/db.xml, blocks/nl_images_xtwo/edit.php, blocks/nl_images_xtwo/form.php, blocks/nl_images_xtwo/icon.png, blocks/nl_images_xtwo/view.php, blocks/nl_images_xtwo, blocks/nl_newsletters/add.php, blocks/nl_newsletters/config.json, blocks/nl_newsletters/controller.php, blocks/nl_newsletters/db.xml, blocks/nl_newsletters/edit.php, blocks/nl_newsletters/form.php, blocks/nl_newsletters/icon.png, blocks/nl_newsletters/view.php, blocks/nl_newsletters, blocks/nl_snippet/add.php, blocks/nl_snippet/config.json, blocks/nl_snippet/controller.php, blocks/nl_snippet/db.xml, blocks/nl_snippet/edit.php, blocks/nl_snippet/form.php, blocks/nl_snippet/icon.png, blocks/nl_snippet/view.php, blocks/nl_snippet, blocks/nl_testimonial/add.php, blocks/nl_testimonial/config.json, blocks/nl_testimonial/controller.php, blocks/nl_testimonial/db.xml, blocks/nl_testimonial/edit.php, blocks/nl_testimonial/form.php, blocks/nl_testimonial/icon.png, blocks/nl_testimonial/view.php, blocks/nl_testimonial, blocks/nl_video/add.php, blocks/nl_video/config.json, blocks/nl_video/controller.php, blocks/nl_video/db.xml, blocks/nl_video/edit.php, blocks/nl_video/form.php, blocks/nl_video/icon.png, blocks/nl_video/view.php, blocks/nl_video, blocks/nl_video_btn/add.php, blocks/nl_video_btn/config.json, blocks/nl_video_btn/controller.php, blocks/nl_video_btn/db.xml, blocks/nl_video_btn/edit.php, blocks/nl_video_btn/form.php, blocks/nl_video_btn/icon.png, blocks/nl_video_btn/view.php, blocks/nl_video_btn, blocks/nl_wg_casestudy/add.php, blocks/nl_wg_casestudy/auto.js, blocks/nl_wg_casestudy/composer.php, blocks/nl_wg_casestudy/config.json, blocks/nl_wg_casestudy/controller.php, blocks/nl_wg_casestudy/db.xml, blocks/nl_wg_casestudy/edit.php, blocks/nl_wg_casestudy/form.php, blocks/nl_wg_casestudy/icon.png, blocks/nl_wg_casestudy/view.css, blocks/nl_wg_casestudy/view.js, blocks/nl_wg_casestudy/view.php, blocks/nl_wg_casestudy, blocks/page_list_plus/templates/news_home.php, blocks/page_list_plus/templates/news_simple.php, blocks/page_list_plus/templates/news_ticker.php, blocks/page_list_plus/templates/careers_list.php, blocks/page_list_plus/templates, blocks/page_list_plus, blocks/schema_contact_details/view.php, blocks/schema_contact_details, blocks/team_member/add.php, blocks/team_member/config.json, blocks/team_member/controller.php, blocks/team_member/db.xml, blocks/team_member/edit.php, blocks/team_member/form.php, blocks/team_member/icon.png, blocks/team_member/view.php, blocks/team_member, blocks/form/templates/contact_form/view.php, blocks/form/templates/contact_form, blocks/form/templates/job_application/view.php, blocks/form/templates/job_application, blocks/form/templates, blocks/form/controller.php, blocks/form, blocks/christmas_gallery/config.json, blocks/christmas_gallery/add.php, blocks/christmas_gallery/auto.js, blocks/christmas_gallery/composer.php, blocks/christmas_gallery/controller.php, blocks/christmas_gallery/db.xml, blocks/christmas_gallery/edit.php, blocks/christmas_gallery/form.php, blocks/christmas_gallery/icon.png, blocks/christmas_gallery/view.php, blocks/christmas_gallery/css_form/repeatable-ft.form.css, blocks/christmas_gallery/css_form, blocks/christmas_gallery/js_form/handlebars-helpers.js, blocks/christmas_gallery/js_form/handlebars-v4.0.4.js, blocks/christmas_gallery/js_form, blocks/christmas_gallery, blocks/msm_image_with_caption/config.json, blocks/msm_image_with_caption/controller.php, blocks/msm_image_with_caption/add.php, blocks/msm_image_with_caption/composer.php, blocks/msm_image_with_caption/db.xml, blocks/msm_image_with_caption/edit.php, blocks/msm_image_with_caption/form.php, blocks/msm_image_with_caption/icon.png, blocks/msm_image_with_caption/view.php, blocks/msm_image_with_caption, blocks/msm_htmlfivevideo/controller.php, blocks/msm_htmlfivevideo/composer.php, blocks/msm_htmlfivevideo/add.php, blocks/msm_htmlfivevideo/config.json, blocks/msm_htmlfivevideo/db.xml, blocks/msm_htmlfivevideo/edit.php, blocks/msm_htmlfivevideo/form.php, blocks/msm_htmlfivevideo/icon.png, blocks/msm_htmlfivevideo/view.php, blocks/msm_htmlfivevideo, blocks/image/templates/with_link.php, blocks/image/templates, blocks/image, blocks/brochure_with_thumbnail/config.json, blocks/brochure_with_thumbnail/composer.php, blocks/brochure_with_thumbnail/auto.js, blocks/brochure_with_thumbnail/add.php, blocks/brochure_with_thumbnail/controller.php, blocks/brochure_with_thumbnail/db.xml, blocks/brochure_with_thumbnail/edit.php, blocks/brochure_with_thumbnail/form.php, blocks/brochure_with_thumbnail/icon.png, blocks/brochure_with_thumbnail/view.css, blocks/brochure_with_thumbnail/view.js, blocks/brochure_with_thumbnail/view.php, blocks/brochure_with_thumbnail, themes/websitetheme/css/bootstrap.min.css, themes/websitetheme/css/edit_mode.css, themes/websitetheme/css/ie8.css, themes/websitetheme/css/logged_in.css, themes/websitetheme/css/site.css, themes/websitetheme/css/typography.css, themes/websitetheme/css, themes/websitetheme/elements/footer.php, themes/websitetheme/elements/footer_bottom.php, themes/websitetheme/elements/footer_winter_gritting.php, themes/websitetheme/elements/header.php, themes/websitetheme/elements/header_top.php, themes/websitetheme/elements, themes/websitetheme/images/about, themes/websitetheme/images/banners, themes/websitetheme/images/client-logos/alder-king.png, themes/websitetheme/images/client-logos/ca.png, themes/websitetheme/images/client-logos/cofely.png, themes/websitetheme/images/client-logos/crowne-plaza.png, themes/websitetheme/images/client-logos/desktop.ini, themes/websitetheme/images/client-logos/stockley-park.png, themes/websitetheme/images/client-logos/thistle.png, themes/websitetheme/images/client-logos, themes/websitetheme/images/contact/Thumbs.db, themes/websitetheme/images/contact/map.png, themes/websitetheme/images/contact, themes/websitetheme/images/fader, themes/websitetheme/images/footer/Thumbs.db, themes/websitetheme/images/footer/bali-09-2017.png, themes/websitetheme/images/footer/bali-12-2016.png, themes/websitetheme/images/footer, themes/websitetheme/images/header/dropdown-back-winter.png, themes/websitetheme/images/header/dropdown-back.png, themes/websitetheme/images/header/nav-div.png, themes/websitetheme/images/header/nurture-logo-winter.png, themes/websitetheme/images/header/nurture-logo.png, themes/websitetheme/images/header/subnav-back.png, themes/websitetheme/images/header/nurture-logo-christmas.png, themes/websitetheme/images/header, themes/websitetheme/images/meet-the-team/Thumbs.db, themes/websitetheme/images/meet-the-team/paul-bean.jpg, themes/websitetheme/images/meet-the-team, themes/websitetheme/images/team-and-depts/Thumbs.db, themes/websitetheme/images/team-and-depts/desktop.ini, themes/websitetheme/images/team-and-depts/download-factsheet.jpg, themes/websitetheme/images/team-and-depts/map.png, themes/websitetheme/images/team-and-depts, themes/websitetheme/images/winter-gritting/Thumbs.db, themes/websitetheme/images/winter-gritting/accordion.png, themes/websitetheme/images/winter-gritting/gold-mark.png, themes/websitetheme/images/winter-gritting/nurture-small.png, themes/websitetheme/images/winter-gritting, themes/websitetheme/images/ajax-loader.gif, themes/websitetheme/images/brochure-wg.png, themes/websitetheme/images/brochure.png, themes/websitetheme/images/btn-search.png, themes/websitetheme/images/btn-video.png, themes/websitetheme/images/download-winter.png, themes/websitetheme/images/download.png, themes/websitetheme/images/i-icon.png, themes/websitetheme/images/icon-video.png, themes/websitetheme/images/marker.png, themes/websitetheme/images/social-winter.png, themes/websitetheme/images/social.png, themes/websitetheme/images/trans-50pc-blue.png, themes/websitetheme/images/trans-50pc.png, themes/websitetheme/images/twitter.png, themes/websitetheme/images/gavin-jones-portal.png, themes/websitetheme/images/checkbox-back.png, themes/websitetheme/images/lightbox/close.png, themes/websitetheme/images/lightbox/loading.gif, themes/websitetheme/images/lightbox/prev.png, themes/websitetheme/images/lightbox/next.png, themes/websitetheme/images/lightbox, themes/websitetheme/images/christmas/tree-transparent.png, themes/websitetheme/images/christmas/btn-arrow.png, themes/websitetheme/images/christmas/christmas-link.jpg, themes/websitetheme/images/christmas, themes/websitetheme/images/instagram.png, themes/websitetheme/images/img-with-link.png, themes/websitetheme/images/video.png, themes/websitetheme/images/video-icon.png, themes/websitetheme/images, themes/websitetheme/js/jquery.cookie.min.js, themes/websitetheme/js/jquery.ticker.js, themes/websitetheme/js/modernizr.js, themes/websitetheme/js/respond.min.js, themes/websitetheme/js/selectivizr-min.js, themes/websitetheme/js/site.js, themes/websitetheme/js/lightbox.js, themes/websitetheme/js, themes/websitetheme/default.php, themes/websitetheme/description.txt, themes/websitetheme/full.php, themes/websitetheme/home.php, themes/websitetheme/meet_team.php, themes/websitetheme/meet_team_winter_gritting.php, themes/websitetheme/news_article.php, themes/websitetheme/news_home.php, themes/websitetheme/page_theme.php, themes/websitetheme/section_home.php, themes/websitetheme/section_home_alt.php, themes/websitetheme/team_and_departments.php, themes/websitetheme/thumbnail.png, themes/websitetheme/videos.php, themes/websitetheme/view.php, themes/websitetheme/winter_gritting.php, themes/websitetheme/with_sidenav.php, themes/websitetheme/with_sidenav_alt.php, themes/websitetheme/career_detail.php, themes/websitetheme/meet_team_two_col.php, themes/websitetheme

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
LiteSpeed

# Server API
litespeed

# PHP Version
5.6.40

# PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, json, libxml, litespeed, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 120
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 360
max_input_vars - 8000
memory_limit - 1024M
post_max_size - 512M
sql.safe_mode - Off
upload_max_filesize - 512M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0