Speeding up your VirtueMart eshop is not always so difficult, there are small changes that anyone can do to gain some speed. This how to is one of the simplest things you can do to reduce your VirtueMart page load time a bit.
Disabling chosen and jQuery UI in Virtuemart
Testing and results
To test how these files affect the page load time and page size we installed on a shared hosting account Joomla! 3.6.4 and VirtueMart 3.0.18 with sample data. First we tested the page load time in Chrome browser with the default VirtueMart settings, then with jQuery option disabled and last with both jQuery and chosen options disabled. After we collected the results we also run the same test on Pingdom tools to see if the results are similar.
You will see in the table and the images below that the findings are very interesting, the page size dropped more than 34% and the page load more than 8%.
|Settings||Requests||Page size||Load time||Requests %||Size %||Load time %|
|No jQuery UI||32||542kb||1.73s||-8.57||-29.88||-6.48|
|No jQuery UI & chosen||29||506kb||1.7s||-17.14||-34.54||-8.1|
Tested on Pingdom tools with default settings
Tested on Pingdom tools with jQuery UI and chosen disabled
The most important finding in this test is the page size decrease that will actually make the big difference in page load on slower connections and mobile devices. Amazon demonstrated that every 100 milliseconds of latency will result in a 1% loss in sales. Which means, that for Amazon every second of latency will cost approximately 10% of revenue!
Not bad for a two click optimization :)