To speed up page load times for visitors of your site, remove as many landing page redirections as possible, and make any required redirections cacheable if possible.
> http://www.domain.com/ is a non-cacheable redirect to https://www.domain.com/
| {exp:gwcode_categories | |
| cat_id="1" | |
| style="linear" | |
| parse="inward" | |
| variable_prefix="gw:" | |
| } | |
| {exp:channel:entries | |
| channel="one|two|three" | |
| category="{cat_id}" | |
| dynamic="no" |
To speed up page load times for visitors of your site, remove as many landing page redirections as possible, and make any required redirections cacheable if possible.
> http://www.domain.com/ is a non-cacheable redirect to https://www.domain.com/
| {exp:structure:nav | |
| start_from='/{segment_1}' | |
| max_depth='1' | |
| css_class='nav nav-list' | |
| current_class='active' | |
| } |
| <?php | |
| $jobs = simplexml_load_file('http://www.domain.com/feeds/jobfeed'); | |
| foreach ($jobs->xpath('/jobs/job') as $jobDetails){ | |
| $title = $jobDetails->title; | |
| $url = $jobDetails->url; | |
| echo '<li><a href="',$url,'">',$title,'</a></li>'; | |
| } | |
| ?> |
| $env_config['securitee'] = array( | |
| 'license_number' => '12345', | |
| 'disable_accordions' => FALSE, | |
| // ------------------------------------ | |
| // File Monitor | |
| // ------------------------------------ | |
| 'enable_file_monitor' => '1', | |
| 'file_monitor_notify_emails' => array('jane@acmeinc.com', 'eric@ericlamb.net'), | |
| 'file_scan_path' => $base_path, |
| {if segment_1 == 'blog'} | |
| {exp:switchee case='{segment_2}' parse='inward'} | |
| {case value='#^P(\d+)$#|""|category|author'} | |
| {!-- Content --} | |
| {/case} | |
| {/exp:switchee} | |
| {/if} |
| Copyright © 2012 {if "{current_time format='%Y'}" >"2012"}- {current_time format="%Y"}{/if} |
| [<div>, prevObject: e.fn.e.init[1], context: undefined, selector: "#content"] | |
| 0: <div> | |
| accessKey: "" | |
| align: "" | |
| attributes: NamedNodeMap | |
| baseURI: "" | |
| childElementCount: 3 | |
| childNodes: NodeList[7] | |
| children: HTMLCollection[3] | |
| classList: DOMTokenList |