Gossamer Forum
Quote Reply
cache a page plugin
Hi All,

I am working on a new plugin called cache_a_page. What it does is basically to generate a cached page for every link in Link database. When a link is broken, users can still see the cached page, the same as Google's cached page.

It's useful for sites which provide deep link to content pages. Very often, links in database become invalid not long after the links were added due to many situations such as the server is down, the page is deleted or moved, the whole site disappears... If a cached page is stored in Link database and can serve to users it will save lots of time maintaining the database.

What it does:

1) The plugin will first create a table in Linksql database for storing cached page.
2) It allows links manager to do batch caching based on links status (certainly you don't want to cache links for which page doesn't exist (404)
3) It allows to do individual caching given a linkID or URL.
4) It allows to delete cached page for one or more links based on URL, LinkID or Status
5) It will build the cached page based on a template for viewing by users. The template will add a head to the cached page saying that "This is a cached page for the URl .....", the same we find on Google
6) It allows links manager to view the cached page by searching or browsing.
7) If a cached page exists for a link, users will see the choice to view the cached page for each link by adding a line to the template links.html

What it doesn't do

1) It doesn't cache PDF, DOC and other special file types
2) Currently it won't store images for the cached pages (it seems that Google dosen't do it either). It won't be a big problem since in most cases when a page is deleted from a server the images for the page may not move unless the whole site is moved. So the image tag in the cached page can still point to the images on the remote server when the cached page is viewed.

I would like to have some input from people who is (or is not) interested in this plugin before I release it.

Cheers.

Long
Subject Author Views Date
Thread cache a page plugin long327 9706 Jan 6, 2003, 7:53 PM
Thread Re: [long327] cache a page plugin
yogi 9526 Jan 7, 2003, 1:37 AM
Post Re: [yogi] cache a page plugin
long327 9510 Jan 7, 2003, 8:13 AM
Thread Re: [long327] cache a page plugin
webmaster33 9541 Jan 7, 2003, 2:24 AM
Thread Re: [webmaster33] cache a page plugin
long327 9492 Jan 7, 2003, 8:18 AM
Thread Re: [long327] cache a page plugin
Paul 9493 Jan 7, 2003, 8:21 AM
Thread Re: [Paul] cache a page plugin
long327 9530 Jan 7, 2003, 8:42 AM
Thread Re: [long327] cache a page plugin
Paul 9542 Jan 7, 2003, 9:10 AM
Post Re: [Paul] cache a page plugin
yogi 9486 Jan 7, 2003, 1:15 PM
Thread Re: [long327] cache a page plugin
Andy 9561 Jan 7, 2003, 7:40 AM
Post Re: [Andy] cache a page plugin
long327 9526 Jan 7, 2003, 8:15 AM
Post Re: [long327] cache a page plugin
SeanP 9458 Jan 8, 2003, 11:31 AM
Thread Re: [long327] cache a page plugin
webmaster33 9454 Jan 9, 2003, 3:43 AM
Thread Re: [webmaster33] cache a page plugin
long327 9420 Jan 9, 2003, 8:30 AM
Post Re: [long327] cache a page plugin
Paul 9397 Jan 9, 2003, 8:54 AM
Thread Re: [long327] cache a page plugin
webmaster33 9453 Jan 9, 2003, 9:01 AM
Thread Re: [webmaster33] cache a page plugin
Paul 9462 Jan 9, 2003, 10:01 AM
Thread Re: [Paul] cache a page plugin
webmaster33 9417 Jan 9, 2003, 10:58 AM
Thread Re: [webmaster33] cache a page plugin
Paul 9393 Jan 9, 2003, 11:08 AM
Thread Re: [Paul] cache a page plugin
webmaster33 9504 Jan 9, 2003, 11:19 AM
Post Re: [webmaster33] cache a page plugin
Paul 9380 Jan 9, 2003, 11:48 AM
Post Re: [webmaster33] cache a page plugin
yogi 9360 Jan 9, 2003, 1:42 PM