I currently do some courses at W3C about mobile web development with html 5 and I did a lot of improvements at TWG from the stuff I learned there.
Since TWG a optimized .htaccess is coming with the download which enables compression and caching of the web server. If you have an Apache web server I recommend to use this file by simply unzipping the htaccess.zip. Furthermore all css files a dynamically combined and compressed. the compress css files is stored in the cache folder for one day. You can disable this optimization during setup by setting $optimize_css = false; or you can delete this file by clearing the session cache (in the administration or by clicking on the bandwidth icon.
Below I have listed the measurements I have made with TWG 1.8.7 and TWG 1.8.8:
|Requests||Size in KB||% from Cache||Page Speed score without .htaccess||Size in KB with .htaccess||% from Cache with .htaccess||Page speed score with .htaccess|
|TWG 1.8.7 free|
|Demo first page||23||232||93,5||46||107||95,3||88|
|Demo detail page||26||418||92,3||55||292||97,3||92|
|TWG 1.8.7 registered all features enabled|
|Demo first page||33||294||94,2||50||124||96,0||91|
|Demo detail page||36||477||93,5||58||294||97,3||92|
|TWG 1.8.8 free|
|Demo first page||17||193||92,7||55||87||97,7||93|
|Demo detail page||18||374||92,8||66||259||96,9||96|
|TWG 1.8.8 registered all features enabled|
|Demo first page||20||238||92,9||60||101||95,0||94|
|Demo detail page||21||419||86,9||70||270||97,0||95|
|TWG 1.8.7 free Average||22||282||92||49||158||96||89|
|TWG 1.8.7 Registered Average||30||342||94||49||169||96||91|
|TWG 1.8.8 Free Average||15||241||93||59||134||96||95|
|TWG 1.8.8 Registered Average||18||286||91||62||146||96||95|
|TWG 1.8.7 Average||26||312||93||49||163||96||90|
|TWG 1.8.8 Average||17||264||92||60||140||96||95|
So now you see a lot of numbers. Lets write a small summary of the most important numbers:
- Use the provided htaccess. Up to 55% less data is transfered compared to TWG 1.8.7. It even boosts the page speed score of TWG 1.8.7 to 90!
- Up to 42% less requests are used in TWG 1.8.8. This is for the basic system. The more images you have the more requests of course you get.
- The table does not show the optimized loading of resources. So the real time for loading the page should even be better.
Please note: The css files in the main directory are not used anymore. They have been moved to the css folder!
You find TWG 1.8.8 in the forum already: http://www.tinywebgallery.com/forum/viewforum.php?f=14
Have fun using TWG,