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

  • SEARCH
  • Home
  • 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 8820033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:30:33+00:00 2026-06-14T05:30:33+00:00

The issue is, every browser used to store cache of webpages, and whenever I

  • 0

The issue is, every browser used to store cache of webpages, and whenever I update my webpage from the server, I can not see the updating until I perform refreshing of that page or clear the cache.
So, this is a big problem for users/guests, for example, the visitor visits my webpage today, and I update my webpage that has important news, Whenever he will visit again, he will be unable to see the updating due to already stored cache on his/her system. Until he/she refresh the page or clear cache of the browser, the updating will be hidden.

Is there any solution of this issue ? because mostly no body used to refresh the page or good at clearing the cache. So, any idea how to solve it?

or If I am not wrong, can I do that when the visitor leaves my webpage, the cache of only my webpage deleted/cleared. Any php code, script or anything ?

Thanks.

  • 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-06-14T05:30:34+00:00Added an answer on June 14, 2026 at 5:30 am

    Using PHP :

    if( !headers_sent() )
        {   header('Expires: ' . gmdate('D, d M Y H:i:s') . 'GMT');
            header('Cache-control: no-cache');
        }
    

    Using HTML :

    <META HTTP-EQUIV="Expires" CONTENT="Tue, 04 Dec 1993 21:29:02 GMT">
    

    You can’t clean clients cache but you can make it expire at specific time.

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

Sidebar

Related Questions

I used Term::ShellUI and almost every thing is working as expected but the issue
In JavaScript this was a cross-browser compatibility issue, so both were used, but there
I've read every post about this issue, but nothing solved the problem. I'll be
I have a spork gem issue. Every time I run the spork command I
I am working with Ruby every day, but i have an issue in Python.
I have a somewhat strange issue with visual studio. Almost every time I create
I'd like to ask your help on a longstanding issue with php/mysql connections. Every
I have a JS script which works in every browser except IE 9. I
How can I wrap the text displayed in the browser to either the width
I noticed that every browser renders the border-style: inset; property differently, so I had

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.