how to cache search results

Discussion in 'PHP' started by erkanbs, Jan 16, 2007.

  1. #1
    i have a directory script and i wanna cache my searc results in a cache folder as .html pages


    how can i do that?


    thanks for answers :p
     
    erkanbs, Jan 16, 2007 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use htaccess to redirect search traffic to a directory like /search/search-term.html

    This page can pull results from search.php?q=search+term

    Now cache the php page.
     
    mad4, Jan 16, 2007 IP
    ccoonen likes this.