We mentioned earlier the new (optional) pre-indexing feature of Odin Assemble v3.0 and I wanted to take a second to cover this item in a bit more detail.
While Odin Assemble doesn't use the Smarty templating system I think that the point being made by Cal Henderson (of Flickr fame) in his book "Building Scalable Web Sites" about pre-compiling is an important one.
Since OA "compiles" or "builds" each page on the fly it reasons that by "pre-compiling" as many steps as possible will serve to speed up the entire framework. Cal provides a short PHP script for the Smarty system on Pg. 173 of his book. In concept this script is very similar to the new pre-indexing script included in Odin Assemble v3.0.
While Odin Assemble doesn't use the Smarty templating system I think that the point being made by Cal Henderson (of Flickr fame) in his book "Building Scalable Web Sites" about pre-compiling is an important one.
"Similar to the opcode compilation, repeating the same compilation process multiple time is a waste of server resources." (Chapter 8: Bottlenecks, Pg. 173)
Since OA "compiles" or "builds" each page on the fly it reasons that by "pre-compiling" as many steps as possible will serve to speed up the entire framework. Cal provides a short PHP script for the Smarty system on Pg. 173 of his book. In concept this script is very similar to the new pre-indexing script included in Odin Assemble v3.0.
0 Comments:
Post a Comment
<< Home