|
File Caching
Jinzora employes a file caching system to make the displaying of data significantly faster than conventional methods. There really are 2 options to reading the data, using a database or reading the filesystem. We've decided to keep things as simple as possible and to just read the file system to get the data, but in systems with lots of music and folders this can be slow. So we've create a file caching system to speed this up. How it works: This first time you load index.php Jinzora reads your media dir and create several PHP Session variables for later use in the system. While this initial load can be a bit slow on big sites, the subsequent speed improvements more than make up for it. There is one problem with caching though. If you add files to your collection you'll need to either restart your browser (yes, lame, we know...) or go to "Tools" - "Update Cache" to recreate this cache. This is the single biggest problem with live caching, but we feel that the ends justify the means in this case. |