|
Posted by Michael Fesser on 07/30/07 18:44
..oO(Jerry Stuckle)
>Michael Fesser wrote:
>> .oO(Jerry Stuckle)
>>
>>> Michael Fesser wrote:
>>>> * using .htaccess you can enable that on a per-directory basis
>>> So? It's still a waste of resources.
>>
>> Like storing images in a database for example. Who's wasting resources
>> then?
>
>Not at all. Databases are quite efficient at retrieving data -
>including images.
You missed my point here. Consider a script-generated page with 20
statically linked images and a static HTML page with 20 images retrieved
from a database. To be viewed in a browser the first page requires just
a single script call, while the second requires 20(!) script calls in
order to fetch all images from the DB.
>> As said, "if you're using PHP for more than just a form on a single
>> page", then it's very likely that all pages contain PHP code, even if
>> it's just an include of a menu bar script.
>
>Nope. Not at all. I have several sites with some pages which have no
>PHP in them at all. And if they have a menu bar script, they're
>included with SSI.
But using SSI on all pages also wastes resources compared to plain
static files ...
>>>> * the file extension .html (or no extension at all) is preferred for
>>>> stable URIs
>>> That's your opinion, anyway.
>>
>> Not only mine. It's also the W3C's opinion.
>
>Exactly where do they say that?
Cool URIs don't change
http://www.w3.org/Provider/Style/URI
| What to leave out
| [...]
| * File name extension.
| * Software mechanisms.
Micha
[Back to original message]
|