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 6780913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:33:43+00:00 2026-05-26T16:33:43+00:00

I recently encountered a problem in my website – some users do not have

  • 0

I recently encountered a problem in my website – some users do not have new version of the webpage displayed when it’s updated. Although refreshing several times helps the problem, I don’t want to add information on my site how to clear cache. Therefore I ask – how to change my .htaccess to make single page (single html document, but only this one – it’s simple enough to not overload traffic) send new version every time. I searched, but most of the problem solutions are “How to clear browser cache”.

  • 1 1 Answer
  • 1 View
  • 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-26T16:33:44+00:00Added an answer on May 26, 2026 at 4:33 pm

    I see you are using PHP, you can do it from PHP like this:

    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");    // set the expire date in the past
    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    header("Cache-Control: no-cache, must-revalidate");  // HTTP/1.1
    header("Pragma: no-cache");                          // HTTP/1.0
    

    Be sure to not send anything before the header (no echo, print etc …).

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

Sidebar

Related Questions

I recently updated from mathematica 7.0 to 8.0, and have now encountered problem with
I recently encountered an odd problem with RSACryptoServiceProvider.VerifyHash . I have a web application
I've recently begun learning C# but have encountered an annoying problem. Every variable I
I recently encountered a strange problem on my website. Images with æ ø and
recently I've encountered a problem with IE. I have a function function() { ShowProgress();
I have recently encountered a problem in IE, using the jQuery UI datepicker script:
I recently encountered a strange problem: In Ruby 1.9, with the updated CSV library,
Recently I've encountered a problem. I have an app that talks to the server.
I recently encountered a problem with my site. I have a position:fixed div which
Recently I've encountered a problem. I have a UIButton and 2 images for it.

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.