Hi @idarek,
Does your website domain in Cloudflare match your current domain?
Best regards,
Anton
Yes, @vanyukov
Also, tried to purche cache on cloudflare and do recheck, but nothing changed.
Have a look as well on: Screenshot
-
This reply was modified 8 years, 6 months ago by
Dariusz.
@idarek,
Please give us some time to debug the issue. I will get back to you in this thread once I have more info.
Best regards,
Anton
Ok, thank you.
In meantime, just to let you know, that official CloudFlare plugin after logging in using email and API key showing correct Zone straight away in a top left corner in plugin settings.
Hi @idarek,
We found the issue. It will be fixed in the 1.7.1 update. If you want to make the fix yourself, you need to edit the file hummingbird-performance/admin/views/caching/browser-caching-configure-meta-box.php:
After this (line number 376):
<# var zone = false; #>
Add:
<# var current_host = location.host.indexOf('www.') && location.host || location.host.replace(/^www\./,''); #>
And after (next line):
<# for( var i = 0, len = data.zones.length; i < len; i++ ) { #>
Exchange:
<# if( data.zones[i].label === window.location.hostname ) { #>
With:
<# if( data.zones[i].label === current_host ) { #>
So at the end you end up with the next block of code:
<# var zone = false; #>
<# var current_host = location.host.indexOf('www.') && location.host || location.host.replace(/^www\./,''); #>
<# for( var i = 0, len = data.zones.length; i < len; i++ ) { #>
<# if( data.zones[i].label === current_host ) { #>
<# zone = true; #>
<# break; #>
<# } #>
<# } #>
Best regards,
Anton
Sorted, thank you for your help.