Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4618984
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:21:46+00:00 2026-05-22T02:21:46+00:00

I am a fresher to web development. In my application I need to have

  • 0

I am a fresher to web development.

In my application I need to have caching so any one can explain me how to do caching of PHP pages in detail?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:21:47+00:00Added an answer on May 22, 2026 at 2:21 am

    Caching in PHP can be mean storing the results of a particular function last time it was called in case that function is called multiples times in the same script (with the same parameters).

    However I think the main and more powerful meaning is storing the complete output of a dynamically generated page, and serving this up when the page is requested again instead of actually running the full PHP script to regenerate that content.

    For pages I want to cache, I have an AJAX command that writes the content into a database after the page is generated. It also adds an expiry time – say time() + 20 (expire in 20 seconds).

    Then I add a condition at the top of the page to check for an unexpired cache for the page in the database. If found it returns that, otherwise it continues to re-generate the full page.

    This article helped me get started:

    http://simas.posterous.com/php-data-caching-techniques

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am fresher in android.In my project I have one layout common for all
I am a fresher and I have got a project in asp.net and c#.
Hi all am fresher to the coding field having background about c, c++, php,
Greetings guys, hopefully somebody has fresher eyes and can help me pinpoint the problem
What where clause can I use to select records that are one hour ago
I have to make an application in which the user moves around a screen,
I am a fresher in web developing , is I ve to study applets?
I am a fresher as far as Ruby is concerned. i worked in PHP
We have an images folder on our web servers that we may publish via
I have website http://yournextleap.com/fresher-jobs Please find out last div having HTML <div data-recommendation= data-id=3790

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.