Re: [users@httpd] Has anybody used a SQL database to store static pages without using PHP?

2019-09-04 Thread Colin 't Hart
I was going to reply the same: you can, but you probably shouldn't. Databases aren't built for speed. They are built for robustness: Atomicity, Consistency, Isolation, and Durability (ACID). If that's what you need, then you should use a database. Otherwise just use the filesystem. It's designed

Re: [users@httpd] Has anybody used a SQL database to store static pages without using PHP?

2019-09-04 Thread @lbutlr
On 1 Sep 2019, at 01:39, timothylegg . wrote: > Can you store an entire static page in an SQL database such as MariaDB > or MySQL and have httpd initiate the database query by parsing the > search parameter from the URL? i.e. > https://www.example.org/benny/index.html would search a table for >

[users@httpd] Has anybody used a SQL database to store static pages without using PHP?

2019-09-01 Thread timothylegg .
Hello, I had a conversation with a friend last week where I was asked: Can you store an entire static page in an SQL database such as MariaDB or MySQL and have httpd initiate the database query by parsing the search parameter from the URL? i.e. https://www.example.org/benny/index.html would