Only precompile the first page of images