|
|
Parsing .html files for php code
I'd just like to note that the problem with parsing .html files for either SSI or PHP is that it slows down the serving of every single HTML page on the site regardless of whether it actually contains any SSI or PHP code, simply because every page has to be parsed for it now.
Parsing .html files for php code
That's true, though it depends on your server how important this is. ---
Parsing .html files for php code
At the cost of using *slightly* more CPU time, I had PHP parse HTML files, and I turned on output compression with PHP. This had the overall effect of speeding up the site and using less bandwidth. I guess I could have just used mod_gzip to have Apache serve compressed files, but I also needed to add PHP code to thousands of HTML files without renaming them. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.08 seconds |
|