Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 11741
Joined: 30 Sep 2006, 03:37

How the new XML cache works in Imagevue X2.5

29 Nov 2010, 12:17

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!
 
DarthStijn
Experienced
Posts: 27
Joined: 14 Dec 2008, 05:29

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

29 Nov 2010, 14:40

Great! My gallery on http://pictures.festivalpictures.be loads much faster now!
Will there be new themes? :D
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 11741
Joined: 30 Sep 2006, 03:37

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

30 Nov 2010, 02:54

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?
 
DarthStijn
Experienced
Posts: 27
Joined: 14 Dec 2008, 05:29

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

30 Nov 2010, 08:32

A grungy rock music theme :-)