Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I set the background to red instead of the color it normally was. Didn't change. Removed the properties all together, refreshed, the texture was still there, even though I removed the line.

OS X 10.7.5

Is there a caching issue? It happens in both Chrome and Safari.

share|improve this question

1 Answer 1

Yes, the CSS is cached.

Try holding down the "Shift" key while clicking on the refresh icon. This will usually trigger a refresh that will reload the CSS and JavaScript.

share|improve this answer
1  
Yes - or your can use the Web Inspector to disable cache while the inspector is open. –  vcsjones Mar 24 '13 at 15:12
    
Note: In Chrome, you can not prevent caching unless the dev tools are open. As soon as you close them, Chrome caches, whatever your settings. If your using a server, you can serve the file via a handler, then add a timestamp to the request that the handler just ignores. Because the timestamp is always different, so the URL changes, Chrome can't safely cache the response, so it always requests a fresh copy. –  Carl Smith Oct 22 '13 at 22:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.