mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
29ce428a7c
The fundamental insight for this engine is that wiki pages are read far more often than they are modified. Thus, the generated HTML can be cached. It follows that the main code path will check that the .html file exists and simply copy it to stdout in the vast majority of cases. The .html file generated from each .wiki file is about the same size as the .wiki file itself, so there will be no particular I/O advantage, but there is a huge CPU advantage, and a significant memory footprint advantage, and since I want to run a wiki on a geriatric 20MB 33MHz 386 machine, this is a good thing. Online demo: http://quickie.sourceforge.net/cgi-bin/quickie WWW: http://quickie.sourceforge.net/ PR: ports/97376 Submitted by: Shaun Amott <shaun@inerd.com>
55 lines
1.7 KiB
Plaintext
55 lines
1.7 KiB
Plaintext
@unexec bin="%D/bin/quickie"; cgi="%D/www/cgi-bin/quickie"; if cmp -s $bin $cgi; then rm -f $cgi; fi
|
|
bin/quickie
|
|
bin/quickie-config
|
|
bin/quickie_post_install
|
|
bin/quickie_prime
|
|
bin/quickie_svt
|
|
%%DATADIR%%/admin/default.css
|
|
%%DATADIR%%/admin/external.png
|
|
%%DATADIR%%/admin/quickie.png
|
|
%%DATADIR%%/index,svt
|
|
%%DATADIR%%/index.html
|
|
%%DATADIR%%/index.referred_to_by
|
|
%%DATADIR%%/index.refers_to
|
|
%%DATADIR%%/index.wiki
|
|
%%DATADIR%%/manual/configuration,svt
|
|
%%DATADIR%%/manual/configuration.html
|
|
%%DATADIR%%/manual/configuration.referred_to_by
|
|
%%DATADIR%%/manual/configuration.refers_to
|
|
%%DATADIR%%/manual/configuration.wiki
|
|
%%DATADIR%%/manual/index,svt
|
|
%%DATADIR%%/manual/index.html
|
|
%%DATADIR%%/manual/index.referred_to_by
|
|
%%DATADIR%%/manual/index.refers_to
|
|
%%DATADIR%%/manual/index.wiki
|
|
%%DATADIR%%/manual/markup,svt
|
|
%%DATADIR%%/manual/markup.html
|
|
%%DATADIR%%/manual/markup.referred_to_by
|
|
%%DATADIR%%/manual/markup.refers_to
|
|
%%DATADIR%%/manual/markup.wiki
|
|
%%DATADIR%%/manual/markup_hints,svt
|
|
%%DATADIR%%/manual/markup_hints.html
|
|
%%DATADIR%%/manual/markup_hints.referred_to_by
|
|
%%DATADIR%%/manual/markup_hints.refers_to
|
|
%%DATADIR%%/manual/markup_hints.wiki
|
|
%%DATADIR%%/manual/sidebar,svt
|
|
%%DATADIR%%/manual/sidebar.html
|
|
%%DATADIR%%/manual/sidebar.referred_to_by
|
|
%%DATADIR%%/manual/sidebar.refers_to
|
|
%%DATADIR%%/manual/sidebar.wiki
|
|
%%DATADIR%%/manual/users,svt
|
|
%%DATADIR%%/manual/users.html
|
|
%%DATADIR%%/manual/users.referred_to_by
|
|
%%DATADIR%%/manual/users.refers_to
|
|
%%DATADIR%%/manual/users.wiki
|
|
%%DATADIR%%/sidebar,svt
|
|
%%DATADIR%%/sidebar.html
|
|
%%DATADIR%%/sidebar.referred_to_by
|
|
%%DATADIR%%/sidebar.refers_to
|
|
%%DATADIR%%/sidebar.wiki
|
|
%%DATADIR%%/square_brackets.referred_to_by
|
|
%%DATADIR%%/square_brackets.unlink_on_create
|
|
@dirrm %%DATADIR%%/manual
|
|
@dirrm %%DATADIR%%/admin
|
|
@dirrm %%DATADIR%%
|