Voltemort Posted September 7, 2006 Posted September 7, 2006 When a topic/forum/page/something on the board gets much too much traffic it would be nice to have an option to cache it. The caching could be in the form of complete HTML dump, where when someone visits say, topic id 200, board will redirect the user to forum/cache/topic-200.html.Another usefull option would be topic redirection. Say, a moderator deletes topic 204. When someone visits that topic from URL (which is very likely, if the page was indexed on google), instead of getting a nasty incorrect use of board files, he could be redirected to a url specified by the moderator/admin.I noticed the need for caching when one of my articles which was posted on my forum got on digg homepage, and shortly after that the server simply got owned from the excess traffic. o:)
Brandon C Posted September 7, 2006 Posted September 7, 2006 +1 to both of those wonderful ideas! :D An AJAX cache with HTML would be a nice touch, personally :) And I also definitely agree about the topic redirects.
Brandon C Posted September 9, 2006 Posted September 9, 2006 Brandon, what do you mean by an AJAX cache?I didn't know if such a thing could be done (I'm pretty sure I've seen it somewhere before) where it uses a bit of AJAX cache with HTML to redirect the user to the correct topic, without essentially it having to refresh the page.
Antony Posted September 9, 2006 Posted September 9, 2006 Just a simple HTTP redirect with the correct headers will do fine - importing entire pages via AJAX is rather pointless.
Brandon C Posted September 9, 2006 Posted September 9, 2006 Meh, was just thinking of some neat ideas :P , but nonetheless, this feature needs to be implemented into IPB somehow.
Antony Posted September 9, 2006 Posted September 9, 2006 What might be a good idea is to show cached pages via an iFrame, so if the cached pages don't exist or have been deleted the user doesn't get a 404. Either that, or have a simple index.php file that loads the cached file and if it doesn't exist regenerates it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.