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

Ask A Question

Stats

  • Questions 165k
  • Answers 166k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer A better solution: Don't attempt to parse ls output in… May 12, 2026 at 1:14 pm
  • Editorial Team
    Editorial Team added an answer First off, Objective-C the programming language does not have any… May 12, 2026 at 1:14 pm
  • Editorial Team
    Editorial Team added an answer Why don't you try to give vendor_id a default value… May 12, 2026 at 1:13 pm

Related Questions

I'm working on a rather large classic asp / SQL Server application. A new
I've recently inherited a database driven e-commerce site written in C# ASP.Net, with an
This question originally asked which is the best method for uploading files via SFTP
I have a rails app that has picked up a bit of traction, but
I have a .NET 1.1 Web Application running on a local development machine and

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.