Yep, just create a script.
I believe you have to updated field "article_tstamp" inside the "phpwcms_article" table.
Search found 7 matches
- Tue 17. Aug 2004, 20:48
- Forum: phpwcms Support English
- Topic: A cron job to fool the {NEW:XX} RT...
- Replies: 1
- Views: 895
- Sat 8. May 2004, 11:05
- Forum: hacks & enhancements
- Topic: HACK: Cache Pages for upto 2 hours
- Replies: 5
- Views: 6264
- Fri 7. May 2004, 01:55
- Forum: hacks & enhancements
- Topic: HACK: Cache Pages for upto 2 hours
- Replies: 5
- Views: 6264
- 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 ...
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 ...
- Fri 19. Mar 2004, 12:18
- Forum: phpwcms Support English
- Topic: phpwcms Performance?
- Replies: 3
- Views: 1407
- Wed 17. Mar 2004, 07:26
- Forum: phpwcms Support English
- Topic: Cached Pages
- Replies: 2
- Views: 1111
- 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 ...
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 ...