Search found 7 matches

by girish
Tue 17. Aug 2004, 20:48
Forum: phpwcms Support English
Topic: A cron job to fool the {NEW:XX} RT...
Replies: 1
Views: 895

Yep, just create a script.

I believe you have to updated field "article_tstamp" inside the "phpwcms_article" table.
by girish
Sat 8. May 2004, 11:05
Forum: hacks & enhancements
Topic: HACK: Cache Pages for upto 2 hours
Replies: 5
Views: 6264

Hi girish,
I'm sorry, to tell you I tried to implement your script to index.php. It writes NOTHING to cache(777) directory. I'm on RH9 PHP Version 4.2.2.

You know what, I might have an older version of phpwcms, I haven't really updated in a long time. I think maybe oliver put in cache pages code ...
by girish
Fri 7. May 2004, 01:55
Forum: hacks & enhancements
Topic: HACK: Cache Pages for upto 2 hours
Replies: 5
Views: 6264

Nope, that should work.

One thing you might be missing is the chmod 777 command for your cache directory. That's why it's not writing.

Girish
by girish
Thu 6. May 2004, 08:54
Forum: hacks & enhancements
Topic: HACK: Cache Pages for upto 2 hours
Replies: 5
Views: 6264

HACK: Cache Pages for upto 2 hours

I don't know about you guys, but I got sick of the DB being hit on my fairly static page.

So I decided to make a quick hack to cache the pages for upto 2 hours, every 2 hours it'll rerun the page to generate a new page.

Here is the code.. all modifications are done on index.php (I use url_rewrite ...
by girish
Fri 19. Mar 2004, 12:18
Forum: phpwcms Support English
Topic: phpwcms Performance?
Replies: 3
Views: 1407

Hi,
we have a function to rewrite the dynamic into .html pages in use of mod_rewrite, look here
http://www.phpwcms.de/forum/viewtopic.php?t=1111

this could be integrated easy...

Has anybody experiences with phpwcms on sites with +150.000 Page Impressions a day?

havn't yet...

This does ...
by girish
Wed 17. Mar 2004, 07:26
Forum: phpwcms Support English
Topic: Cached Pages
Replies: 2
Views: 1111

I was actually thinking somewhere along the lines of using the ob_start and other ob functions.
http://www.php.net/ob_start

Well, here is the idea, have a "temp" directory, before you serve the page, check to see if you already have a cache copy, if yes, then check to see how old, if less than x ...
by girish
Tue 16. Mar 2004, 02:54
Forum: phpwcms Support English
Topic: Cached Pages
Replies: 2
Views: 1111

Cached Pages

Hi, I don't know if this was discussed already -- I did a search, but couldn't find anything.

Is there anyway we can cache pages, so that the pages don't have to go for the database everytime, maybe make it goto the database ever x minutes/days? For sites that don't get updated too often, this will ...