Results 1 to 2 of 2

Thread: PHP Caching Method

  1. #1
    junkeeper Guest

    PHP Caching Method

    Hi guys,

    I need to seek some advice from you in regards to the following questions:-

    1) I found out there are many ways to cache a website content to make the website load faster. But I'm not sure which method is better than the others like for example HTTP Cookie and Server Caching. If a website like mine that uses MYSQL database and retrieve a lot of data to display on user's end, what caching solution is the best?

    2) There are many PHP scripts available from the open source community and retail market. Some spec out the requirements and specifications in very details but unfortunately some don't. How can I be sure the script can support a big traffic site? Often I heard many scripts are written for website with small traffic in mind and they will start to behave strangely if the traffic started to grow.

    Please do share your ideas and comments. Thank you.

    Cheers,

  2. #2
    Join Date
    May 2009
    Location
    England
    Posts
    165
    Hi junkeeper,

    While I don't want to comment on the caching itself I would recommend that you *don't* cache information delivered via a database. If you try to, you run the risk of the information being out of date or incorrect for the user looking at it in cached version.

    In fact most dynamic websites actively avoid caching by adding some lines the header.

    Sorry it doesn't answer your questions directly but thought it was worth commenting on.

    Regards,


    David
    David McLeary
    Emerging Innovations
    Website Development, Training and Consultancy

Similar Threads

  1. Dramatically Speed Up Sites with caching on Apache
    By apachedude in forum Web Hosting and Domain Names
    Replies: 0
    Last Post: 18 Jan 2007, 01:43 AM

Posting Permissions

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