Forum Discussion
Collected Metrics: Page Load Time option
Hello,
Our customer has problem with Collected Metrics: Page Load Time on App which is on Android system. On iOS or PC web browser this is not injevted in HTML.
On Virtual server was this feature disabled (set to none). analytics profile is set to none.
This is added to the end of page (only on Android platform):
<script id="f5_cspm">(function(){var f5_cspm={f5_p:'IPKNDHFDMNPIEIAHKDGNDMEAGDIJLMGAJLPAILHDFCJOABLIPLEKJHONNCGBDCGOCGIDNNHODGABCHLFEMLHJPHGACJAPGLOAAFFFMIKNDCPMFCEAAILGEIDCEPGOEJH',setCharAt:function(str,index,chr){if(index>str.length-1)return str;return str.substr(0,index)+chr+str.substr(index+1);},get_byte:function(str,i){var s=(i/16)|0;i=(i&15);s=s*32;return((str.charCodeAt(i+16+s)-65)<<4)|(str.charCodeAt(i+s)-65);},set_byte:function(str,i,b){var s=(i/16)|0;i=(i&15);s=s*32;str=f5_cspm.setCharAt(str,(i+16+s),String.fromCharCode((b>>4)+65));str=f5_cspm.setCharAt(str,(i+s),String.fromCharCode((b&15)+65));return str;},set_latency:function(str,latency){latency=latency&0xffff;str=f5_cspm.set_byte(str,48,(latency>>8));str=f5_cspm.set_byte(str,49,(latency&0xff));str=f5_cspm.set_byte(str,43,2);return str;},wait_perf_data:function(){try{var wp=window.performance.timing;if(wp.loadEventEnd>0){var res=wp.loadEventEnd-wp.navigationStart;if(res<60001){var cookie_val=f5_cspm.set_latency(f5_cspm.f5_p,res);window.document.cookie='f5avr2026317489aaaaaaaaaaaaaaaa='+encodeURIComponent(cookie_val)+';path=/';}
return;}}
catch(err){return;}
setTimeout(f5_cspm.wait_perf_data,100);return;},go:function(){var chunk=window.document.cookie.split(/\s*;\s*/);for(var i=0;i<chunk.length;++i){var pair=chunk[i].split(/\s*=\s*/);if(pair[0]=='f5_cspm'&&pair[1]=='1234')
{var d=new Date();d.setTime(d.getTime()-1000);window.document.cookie='f5_cspm=;expires='+d.toUTCString()+';path=/;';setTimeout(f5_cspm.wait_perf_data,100);}}}}
f5_cspm.go();}());</script>
I check this link but the result is the same:
https://support.f5.com/csp/article/K13849
Config of LTM VIP server:
ltm virtual /Common/VIP_TestIN {
destination /Common/172.16.1.14:443
ip-protocol tcp
mask 255.255.255.255
policies {
}
pool /Common/TestIN_pool
profiles {
/Common/TestIN-client-SSL {
context clientside
}
/Common/http { }
/Common/serverssl {
context serverside
}
/Common/tcp-lan-optimized { }
/Common/websecurity { }
}
rules {
/Common/iRule_LTM_logging
}
security-log-profiles {
/Common/Logging_profile
}
source 0.0.0.0/0
source-address-translation {
type automap
}
translate-address enabled
translate-port enabled
vlans {
/Common/External
/Common/Internal
}
vlans-enabled
}
Any idea?
- zghet
Nimbostratus
Hi, do you have some dos/asm profile/policy?
What version of you f5 have.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com