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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:42:36+00:00 2026-05-12T08:42:36+00:00

When I upload a new version of CSS files for my website, there is

  • 0

When I upload a new version of CSS files for my website, there is an issue where the clients viewing the pages might have a cached version on their computers. They can’t see the CSS updates (or even some other static assets like images) until they clear their cache, or press Ctrl + F5. This is obviously not an ideal solution.

One way to deal with this would be to rename the CSS files every time I uploaded a new build of the website. Is there any way to do this automatically via Visual Studio? I am using AnkhSVN for version control, so if I could get a script to do this automatically for the selected files, that would work too.

I didn’t even know what exactly to Google for – could somebody point me in the right direction, and suggest best practices?

Edit: Oh, and forgot to mention – I would need to do this in combination with the expires tag on static assets. Since I’m still early into my research, I’m not sure how this ties in.

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-05-12T08:42:37+00:00Added an answer on May 12, 2026 at 8:42 am

    One simple fix is to add a query string to the url of your css file. So instead of refering to file.css you refer to file.css?a=1. The next time you change the css file you just change the query and the file will be redownloaded.

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

Sidebar

Related Questions

I have a server where I upload sometimes the new version of my software.
I have created, added (at version details), and clicked ready for upload a new
i have made a function to add new upload and description inputs onClick. How
I am new to Jquery. I have an upload form that when something is
I have an app in the market without in-app billing. Now the new version
On my webpage, I have the following link: <asp:LinkButton ID=lnkChangePic runat=server onclick=lnkChangePic_Click Text=Upload new
I tried to install a new ruby version with rvm on my mac. There
You are developing a new version of an existing website locally. Along with that
If I upload a new version of my site to my live server by
To deploy a new version of our website we do the following: Zip up

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.