User avatar
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 7280
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:
http://imagevuex.com/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!

_________________
Karl / mjau-mjau

Image
Image
Image
Image

www.imagevuex.com
www.mjau-mjau.com
www.photogallerylinks.com


Re: How the new XML cache works in Imagevue X2.5
DarthStijn
Experienced
Joined: 14 Dec 2008
Posts: 27
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
User avatar
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 7280
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?

_________________
Karl / mjau-mjau

Image
Image
Image
Image

www.imagevuex.com
www.mjau-mjau.com
www.photogallerylinks.com


Re: How the new XML cache works in Imagevue X2.5
DarthStijn
Experienced
Joined: 14 Dec 2008
Posts: 27
A grungy rock music theme :-)


 
Imagevue Forums HomeForum  View topic - How the new XML cache works in Imagevue X2.54 posts