PDA

View Full Version : search_template as SHTML


pcOxygen
10-31-2008, 07:24 AM
My web host is using Apache and PHP 5.x

I'm serving my search results with the PHP option, and have a customized search_template.html page.

QUESTION: Is it possible to increase browser speed and efficiency in rendering search results by changing the search_template.html to search_template.shtml?

What would be the advantages and disadvantages of using shtml pages as the search_template?

wrensoft
10-31-2008, 07:43 AM
The would be no speed or efficiency gain. SHTML is for server side includes, which is a simple form of scripting. But the template doesn't use SSI. And there is no need for SSI if you are creating a page via PHP (as we are for the search results).

If you are really looking for speed and efficiency, switch to use the CGI option as this is 10 times faster than PHP (http://www.wrensoft.com/zoom/benchmarks.html).