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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T05:47:26+00:00 2026-05-21T05:47:26+00:00

While testing in development, how can you disable cache for all your local scripts/styles,

  • 0

While testing in development, how can you disable cache for all your local scripts/styles, and keep the cache working for all the external scripts/styles? Preferably firefox

Basically when making changes to css, js, or sprite files on my site I’m developing, I need to reload them frequently, but the external hosted scripts/images/styles like google maps, jquery etc will make the wait time up to 5-10 seconds every time (this is mainly due to the fact that I am located in a Country with poor internet access)

  • 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-21T05:47:27+00:00Added an answer on May 21, 2026 at 5:47 am

    You could set appropriate HTTP caching directives (expecially ETag, Cache-Control and Expires) for your local site.

    For Apache you can use Header to unset ETag, and set Cache-Control and Expires with appropriate values:

    Header unset ETag
    Header set Cache-Control no-store, max-age=0
    Header set Expires 0
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've started to look into the whole unit testing/test-driven development idea, and the more
While testing a console app, I set the properties of the console window to
I'm facing a problem while unit testing my forms. The problem is that data
While trying to answer a question in the vicinity ' Unit Testing WPF Bindings
I was given this code a while back. I finally got around to testing
While going through university and from following the development of SO, I've heard a
I'm currently in the process of testing our solution that has the whole gamut
While the C# spec does include a pre-processor and basic directives (#define, #if, etc),
While I've seen rare cases where private inheritance was needed, I've never encountered a
While setting up CruiseControl, I added a buildpublisher block to the publisher tasks: <buildpublisher>

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.