Opened 13 years ago

Closed 13 years ago

#4729 closed bug (fixed) is snappy, but, /vmware, /cd are not

Reported by: luroh Owned by: mmlr
Priority: normal Milestone: R1
Component: Website Version: R1/alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description responds very quickly while, and do not.

Two possible clues as to what's going on (as picked up on IRC):

"org/ is pure html, raw/, cd/, vmware/ are php"
"it enumerates the whole dir and tries to match filetypes to thumbs and such"

Change History (4)

comment:1 by axeld, 13 years ago

The site is using a very poorly done PHP script that refills a MySQL database (with each visit) just for sorting and filtering the entries. I've already complained about this since forever. Patches welcome!

comment:2 by kwurzel, 13 years ago

We could just use the (styled) output of Apache's mod_autoindex (see for an explanation). I think Canonical uses it at for example.

Alternatively, we could use a simple PHP Directory listing script like

I would prefer the first one, as it is much faster (at least in theory)...

comment:3 by mmlr, 13 years ago

Owner: changed from haiku-web to mmlr
Status: newassigned

I'm reworking it.

comment:4 by mmlr, 13 years ago

Resolution: fixed
Status: assignedclosed

Done. Reworked them, stripped unneeded stuff, sort using PHP, reformat to have a coding style, style the output as well, simplified. Should perform reasonably now.

Note: See TracTickets for help on using tickets.