1. A method, comprising: receiving, at a preprocessor, a source file for preprocessing, wherein the source file is written in a client-side scripting language; parsing, at the preprocessor, the source file; identifying, at the preprocessor, a directive within the source file; associating, at the preprocessor, metadata with the directive during the preprocessing such that the directive is a preprocessed directive, wherein the metadata comprises: information regarding which portions of the source file have been altered since a last preprocessing of the source file has occurred, and at least a portion of the source file in the client-side scripting language for generating at least a portion of markup language for a web page to be served to a client device using a webserver; retrieving, during the preprocessing, only the metadata associated with the preprocessed directive in the source file from a database system such that the entire source file is not retrieved; storing, during the preprocessing, the metadata associated with the preprocessed directive in a hash table; receiving a request to access metadata associated with the preprocessed directive in the source file from the hash table; and generating the at least the portion of markup language for the web page to be served to the client device in accordance with the metadata associated with the preprocessed directive in response to the request.
1. A method, comprising: receiving, at a preprocessor, a source file for preprocessing, wherein the source file is written in a client-side scripting language; parsing, at the preprocessor, the source file; identifying, at the preprocessor, a directive within the source file; associating, at the preprocessor, metadata with the directive during the preprocessing such that the directive is a preprocessed directive, wherein the metadata comprises: information regarding which portions of the source file have been altered since a last preprocessing of the source file has occurred, and at least a portion of the source file in the client-side scripting language for generating at least a portion of markup language for a web page to be served to a client device using a webserver; retrieving, during the preprocessing, only the metadata associated with the preprocessed directive in the source file from a database system such that the entire source file is not retrieved; storing, during the preprocessing, the metadata associated with the preprocessed directive in a hash table; receiving a request to access metadata associated with the preprocessed directive in the source file from the hash table; and generating the at least the portion of markup language for the web page to be served to the client device in accordance with the metadata associated with the preprocessed directive in response to the request. 19. The method of claim 1 , wherein the directive comprises data on at least a portion of a client-side scripting language file and at least one mode, wherein the method further comprises creating, after identifying the directive, a version of the source file for each of the at least one mode, wherein the version of the source file comprises the source code from the source file and the at least a portion of the client-side scripting language file, and wherein the associating includes associating the metadata with the version of the source file for each of the at least one mode.