Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOW TO TURN OFF CACHE IN CSS FILE

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I know how to Turn off cache in HTML page using meta tag.but
do not know how to do in CSS file.Please help me.
 
I guess you want to avoid having to clear the cache everytime you make a stylesheet change and want to view the result? It appears that *.js & *.css files are automatically cached even if your browser is set to 'Always check for new page'. No way round it I know of I'm afraid.

Anyone else out there?
 
Hi mate,

Maybe not the type of solution you want but just rename the file after you make a change to it. That way the browser downloads the new version everytime.

Hope this helps Wullie

sales@freshlookdesign.co.uk

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top