Static HTML Pages? Static HTML Pages?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Static HTML Pages?

Started by AnnieB, August 01, 2004, 07:28:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AnnieB

Is it possible to generate static html pages?

Tarique Sani

For something like Offline Album ?

No. but it has been requested often so it is on our long list of ToDo
SANIsoft PHP applications for E Biz

AnnieB

no, it's for a online one

a static album would use less resources :)

any idea when it'd be available?

Tarique Sani

Online Album will never be static!
SANIsoft PHP applications for E Biz

AnnieB

that was kinda rude

thanks anyway

Tarique Sani

huh? i wonder why a simple statement as above is considered rude < shrug >
SANIsoft PHP applications for E Biz

AnnieB

the ! gave the rude entonation

why couldnt it be static?

kegobeer

The very nature of php is why online albums are not static.  PHP allows dynamically produced content - a static page is nothing more than hard coded HTML.  So... Coppermine creates dynamic pages (newest files, last updated albums, etc).

In order to produce a static page, code needs to be written that would actually create a HTML file, then dump all the output into it.  So, I'm sure you can see it's no quick and easy task.  And since it isn't a huge priority it's on the bottom of the list.

Hope that answers your question.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

AnnieB

I never said making it was easy, I jsut said it was rude the way he put it.

The reason why I'd prefer it to generate html static is because the site is gonna be getting a lot of hits, and static would consume less resources.

That's all.

But, since it's not available, I understand, I will just keep looking

kegobeer

If you're worried about Coppermine not being able to handle the load, there are websites out there that have thousands and thousands of pictures, documents, and videos that get thousands of hits a day, and perform flawlessly.  Coppermine's code is very efficient and does a great job handling many requests.

I honestly don't know how much more of a load Coppermine would put on a server compared to static HTML pages serving the same pictures.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Kaspars