Page 1 of 1

How the new XML cache works in Imagevue X2.5

Posted: 29 Nov 2010, 12:17
by mjau-mjau
With the release of Imagevue X2.5, one of the major improvements is XML cache to speed up gallery loading. Loading the initial menu in Imagevue could often take a long time, depending on the amount of images and folders in your gallery. The reason for this, is basically because the Imagevue script needs to process and count all files- and folders in your content/ folder.

With the new XML cache platform, the Imagevue gallery stores data in XML and only processes folders if they are changed, or if there is new content. The caching system is entirely transparent, and is processed automatically when required.

You may notice a new file folders.xml in the root of your content/ folder. This is basically the cache file, where the processed data is stored.

How it works in technical terms
  • First time your gallery is viewed by anyone, the cache file is created.
  • After the cache file is created, the initial load should be substantially faster, as it is cached.
  • If you create a new folder or change anything in a folder (files, descriptions, thumbnails etc.), the gallery will detect this, and re-process the cache file.
Our demo gallery has a few thousand visitors every day, and is on a shared server. The cached script now loads in around ~1 second in our demo. See for yourself:
https://www.photo.gallery/demo/x2/?a=folders

We are looking forward to see this in action in our users' galleries, and also to hear any feedback from you!

Re: How the new XML cache works in Imagevue X2.5

Posted: 29 Nov 2010, 14:40
by DarthStijn
Great! My gallery on http://pictures.festivalpictures.be loads much faster now!
Will there be new themes? :D

Re: How the new XML cache works in Imagevue X2.5

Posted: 30 Nov 2010, 02:54
by mjau-mjau
DarthStijn wrote:Great! My gallery on http://pictures.festivalpictures.be loads much faster now!
Will there be new themes? :D
Good to hear! Hope to release two new themes with Imagevue X2.6 before Christmas. Any special requests?

Re: How the new XML cache works in Imagevue X2.5

Posted: 30 Nov 2010, 08:32
by DarthStijn
A grungy rock music theme :-)