Frogans Tip for Day -3

The OP3FT is holding its 7th Frogans Technology Conference in Paris – and online – on the 14th of June. It’s going to feature “The Frogans Awards,” a contest for the best new Frogans sites on Earth. The deadline for submitting your sites is June 7, 2016 12 p.m. (Paris time) – 10:00 UTC.

In the spirit of this worthy challenge, I’m submiting, here and on the Frogans Awards Mailing List, a Frogans authoring tip each day through June 6th, the day before the submission deadline.

So, with just three days left to submit your Fro-creation…

Frogans Tip for Day -3

Group smaller, frequently-used images in a single image file

It is often quicker for Frogans Player to load one larger file than several smaller ones. This is because each time Frogans Player has to look for a new image file, it has to make a new HTTP request to the hosting server – and that takes a bit of time.

Say you have a set of symbols that are frequently-used throughout your site. You could put them all in a single image file and write a separate <resimage> element for each symbol in the file. Using the “selection” and “bounds” attributes you can choose which region of the overall file will comprise the resource.

The image file can stay in memory even after the user has navigated to a new slide. So if the same images are used again in the new slide, Frogans Player can access them from the image file in memory instead of making a new HTTP request.

Check back here tomorrow for the Frogans Tip for Day -2!

Be the first to comment

Leave a Reply

Your email address will not be published.


*