Browser fingerprints used in the context of bot detection.
Information about the end-user device, browser, and OS such as the device memory, number of CPU cores, and GPU information.
Specially crafted JavaScript challenges that aim to detect side effects of automated browsers, headless browsers, and anti-detection frameworks.
While the JS tag already had a negligible impact on our customers' websites, we are always pushing for better solutions.
With a focus on improving performance, we worked hard the last few months to further optimize the JS tag.
How your site performs is key for your customers, who on average will only give a website three seconds to load before clicking away.
Website load time has an impact on conversion rate and bounce rate, as demonstrated in several analyses and audits.
While there are many ways to monitor the web performance of a site, Core Web Vitals are one of the most followed metrics in the market for testing the speed of a website, as well as a key part of SEO. And at DataDome, we maintain a focus on reducing our ecological footprint.
We went through four main processes to optimize our tag.
While simple, this step is mandatory for any performance optimization project.
Some parts of our JavaScript were duplicated across our code base.
By performing JavaScript code profiling, we have been able to find which parts of our code were using the most CPU resources.
We refactored these parts-when possible-to reduce precious CPU usage.
In the past, we used to obfuscate everything inside our JS tag.
Offloaded the Computation of Some Signals Outside the Browser Main Thread. Some of our signals are more intensive to compute.
These signals used to be computed inside the browser JavaScript main thread. Using the main thread for this was adding a few milliseconds to the page render speed, particularly on slow devices.
We moved these signals to a dedicated service worker, using another thread to compute them to avoid blocking the browser main thread. Using this optimization process, between June and November 2023 we achieved: Conclusion.
The engineering team has worked for a long time to achieve this amazing performance improvement.
We ran hundreds of tests to find the best performance possible-without compromising security.
We still have some improvements in our pipe to continue to have the fastest JS tag in the market and improve our detection.
This Cyber News was published on securityboulevard.com. Publication date: Wed, 06 Dec 2023 01:43:05 +0000