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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:27:27+00:00 2026-06-17T18:27:27+00:00

Possible Duplicate: Force refresh of cached data Whats the best practice for updating the

  • 0

Possible Duplicate:
Force refresh of cached data

Whats the best practice for updating the css style sheet after a website goes through visual changes?

I recently updated my webpage with new images and updated the css. When my friend viewed the site his browser had the previous css rending with new images for some reason. He has visited the site before. From my understanding the style sheet was not refreshed but they images changed on his first launch of the site causing it to appear incorrectly. After he refreshed the page it updated the css and looked alright though.

Do I need to change the name of the css after major changes to force the new style sheet to be downloaded? Or is there a way to cause the browser to perform a mandatory reload of the style sheet?

  • 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-17T18:27:28+00:00Added an answer on June 17, 2026 at 6:27 pm

    He has the previous version because it is cached. On his end, he can “force” a fresh CSS file by using cntrl + f5 (on chrome) or his browsers equivalent. Or merely empty his cache.

    For you, what you can do is change the name of the stylesheet. You could do this by adding a ?=x to the stylesheet href. It makes the browser think it is a new version, but is infact just the old version.

    If you never want the file to be cached again (which I don’t recommend) you could add a timestamp to the ?=, but again, I don’t recommend that

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

Sidebar

Related Questions

Possible Duplicate: CSS: how can I force a long string (without any blank) to
Possible Duplicate: How do I force the refresh of javascript files in a browser?
Possible Duplicate: Javascript force open a link in a browser I am working on
Possible Duplicate: Mobile site - force landscape only / no auto-rotate I have seen
Possible Duplicate: Force app to close and run in background I'm creating an radio
Possible Duplicate: How to force C# App to run as administrator on Windows 7
Possible Duplicate: How to force indentation of C# conditional directives? Can visual studio automatically
Possible Duplicate: Force close using sockets and AsyncTask Hi people of stack.... Please please
Possible Duplicate: Preventing Brute Force Logins on Websites Limiting user login attempts in PHP
Possible Duplicate: Forcing Garbage Collection in Java? Can I Force Garbage Collection in Java

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.