HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Load time of page due of analyticstick.json
noszone
New
I noticed, the load time of analyticstick.json is quite big. Theres is inside some json:
{ "isHomepage": false, "Accept": ".txt,.jpg,.jpeg,.gif,.png,.bmp,.tiff,.ico,.zip,.gz,.tar.gz,.tgz,.psd,.ai,.fla,.pdf,.doc,.xls,.ppt,.docx,.xlsx,.pptx,.log,.rar,.7z,text/plain,image/jpeg,image/pjpeg,image/jpeg,image/pjpeg,image/gif,image/png,image/bmp,image/x-windows-bmp,image/tiff,image/x-tiff,image/x-icon,application/x-compressed,application/x-zip-compressed,application/zip,multipart/x-zip,application/x-compressed,application/x-gzip,application/gnutar,application/x-compressed,image/vnd.adobe.photoshop,application/postscript,application/pdf,application/msword,application/excel,application/vnd.ms-excel,application/x-excel,application/x-msexcel,application/mspowerpoint,application/powerpoint,application/vnd.ms-powerpoint,application/x-mspowerpoint,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.openxmlformats-officedocument.presentationml.presentation,text/plain,application/x-rar-compressed,application/x-rar,application/x-7z-compressed", "AcceptImage": ".jpg,.jpeg,.gif,.png,.bmp,.tiff,image/jpeg,image/pjpeg,image/jpeg,image/pjpeg,image/gif,image/png,image/bmp,image/x-windows-bmp,image/tiff,image/x-tiff" }
It's load time (in console, Network tab) various from 150 ms up to 6 seconds. Even with enable cache that file isn't included in cache.
What analyticstick.json does to system? Can we skip it somehow?
0
Comments
Looks that I got the way to solve it. I added to config:
$Configuration['Garden']['Analytics']['Enabled'] = false;
Wow, there another con of disabling analytics. The views of post are not updating. Is there any other ways to keep analytics disabled with no losing in functionalities?
I believe the loading of the analyticstick.json is deferred by default and thus should not impact the user experience in any way.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS