<!-- | |
#* Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you under the Apache License, Version 2.0 (the | |
"License"); you may not use this file except in compliance | |
with the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, | |
software distributed under the License is distributed on an | |
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
KIND, either express or implied. See the License for the | |
specific language governing permissions and limitations | |
under the License.*# | |
--> | |
This page provides an example of how to programatically optimize your Page | |
imports for high traffic pages. You optimize your Page imports by combining | |
CSS and JavaScript import files which reduces the number of HTTP requests required | |
to serve the page. | |
<p/> | |
This is one of the Yahoo performance best practice rules : | |
<a target="_blank" class="external" href="http://developer.yahoo.com/performance/rules.html#num_http">Minimize HTTP Requests</a>. | |
<p/> | |
Please view the | |
<a target="_blank" href="$context/source-viewer.htm?filename=WEB-INF/classes/$srcPath" title="Page Java source"><img border="0" class="link" alt="" src="/click-examples/assets/images/lightbulb1.png"/> Page Java</a> | |
and | |
<a target="_blank" href="$context/source-viewer.htm?filename=$path" title="Page Content source"><img border="0" class="link" alt="" src="/click-examples/assets/images/lightbulb2.png"/> Page HTML</a> | |
for more details. |