SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    psycho
    Join Date
    May 2000
    Location
    London
    Posts
    283
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have a small main page display that is updated about once every 2 weeks. Is it OK just to take it from mySQL (considering it will get hit 300 times a day) or should i be making a static file from the SQL and including that.

    Thanks
    James

  2. #2
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want to make sure I understand you: are you talking about what Kevin wrote in his PHP/MySQL tutorial? IE: having a small script which takes the dynamic content and "pastes" it into a static HTML file when you tell it to so as to save system resources?

  3. #3
    psycho
    Join Date
    May 2000
    Location
    London
    Posts
    283
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oops yeah. id better read that

  4. #4
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's the direct link:
    http://www.webmasterbase.com/article...d=228&pid=1164

    Took me a few minutes - might save you some time. It's somewhere in the middle of the very last part - Part 10, on Advanced PHP.

    Good luck!

  5. #5
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    In the grand scheme of things, 300 hits a day is not a big deal. Unless your script takes a long time to run, you can probably just leave it dynamic.
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •