Advanced Search

Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Structure for storing posts

  1. #11
    Join Date
    Mar 2011
    Location
    N 11° 19' 0.0012 E 142° 15' 0
    Posts
    1,421
    Thanks
    37
    Thanked 84 Times in 83 Posts
    Blog Entries
    3

    Default

    Quote Originally Posted by traq View Post
    query once and save (cache) the result.
    Save it where. I'm sorry but I don't understand the concept of "caching". Could you try and explain it a bit...
    keebs - keyboard1333 [at] gmail [dot] com
    Anime Views Forums

  2. #12
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,138
    Thanks
    61
    Thanked 438 Times in 427 Posts
    Blog Entries
    7

    Default

    "Where" depends on how you handle it. MySQL does some caching internally. Memcache stores data on the server. You might cache dynamically generated html markup in .txt files, or session-specific data in your $_SESSION.

    I was going to link to the Wikipedia page, but it seems uncharacteristically akward and helpless.

    Basically, a "cache" is just an organized way to save data you plan on using again later, thereby saving time by only retrieving/ preparing it once and using it several (or many) times.
    Adrian ~ facebook | gist/github

    ['66.215.156.37','208.75.149.97'] // ip,ip array!
    "Take that sticker *off* your hat; you look stupid" --Wil Wheaton

  3. #13
    Join Date
    Mar 2011
    Location
    N 11° 19' 0.0012 E 142° 15' 0
    Posts
    1,421
    Thanks
    37
    Thanked 84 Times in 83 Posts
    Blog Entries
    3

    Default

    Hmmmmm, thanks for that traq.
    keebs - keyboard1333 [at] gmail [dot] com
    Anime Views Forums

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
  •