Caching is anything being worked on.
Brook Humphrey <[email protected]>
| Newsgroups | gmane.comp.web.envolution.devel |
|---|---|
| Organization | Mobile PC Medic |
| Message-ID | <[email protected]> |
I know postnuke has database caching built in due to adodb. This I assume will
be carried over to Envolution. I have been using jpcache for quite awhile on
my own projects it is customizable and offers gzip and page output caching.
Page output caching can be turned off or on as needed. This solution is good
if like me my hosting service does not have mod-gzip.
I put up postnuke at my site and plugged jpcache into it you would not believe
the speed increase. with just gzip enabled it was a small amount faster but
with page caching set to only 5 seconds it decreased load time by
astronomical amounts.
I took screenshots if anyone wants to see but here is the summary of it. I
bench marked with a custom version of ezhttpbench that I ripped up for it;'s
timing code and plugged snoopy into for its page fetching. I loaded just the
frontpage 100 times this is the results.
Average time per page, throughput, max pages per minute
without jpcache
1.07sec .04kb/s 55.91
w/ jpcache and gzip
.95sec .05kb/s 63.41
w/ jp, gzip, and page caching
.03sec 1.82kb/s 2329.40
Uh I hate to mention it but look at the last numbers. I ran the test a couple
time just to make sure I wasn't day dreaming or something. Thats an
astronomical increase in performance. I would suggest running this on
modules.php and index.php It could be setup to only cache pages for
anonymous users or something. Here is the good part it is only a single
include. Thats it.
--
-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-
Brook Humphrey
Mobile PC Medic, 420 1st, Cheney, WA 99004, 509-235-9107
http://www.webmedic.net, [email protected], [email protected]
Holiness unto the Lord
-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-