Alternative resource loader with preprocessing functionality