In this article you could find the most common questions about CoBrowser script. Some questions about the script size, loading times and where is the best place to place the script in your webpage, in order to not affect your web page loading time.
- Where is the best place to place the CoBrowser script ?
Definitively the best place to place the CoBrowser script is at the end of your web page, just before</body></html>tags.
This way your web page will load and render without extra waits.
We'd like to mention that our script uses async loading methods to speed up the load. It specifies that the script will be executed asynchronously as soon as it is available.
That means that the script is executed asynchronously with the rest of the page (the script will be executed while the page continues the parsing). - What's the actual size of the script ? Do you support browser caching ?
Yes, we support browser caching, so the first time you load your webpage with our script in it, it will take some time (around 100ms) but after that, all reloads are practically immediate.
The actual size of our loader script after applying compression is around 1.8KB. - Is it possible to reduce the size of JavaScript and CSS files ?
We have in place the
Content-Encoding:gzipheader configuration in our servers. This header compress the size of all the files in the fly, saving a lot of bandwidth and time, strictly talking about loading/sizing times.The gzip compression is enabled for all of our JS, CSS files.
It's also good to mention that we're continuously improving the loading time, size and response time of all of our system, and minimize our JS, CSS plugins files is already in our roadmap.
Comments
0 comments
Please sign in to leave a comment.