View Single Post
Old 03-14-2022, 01:10 PM  
dave90210
Registered User
 
Join Date: Mar 2007
Posts: 1,745
Quote:
Originally Posted by Publisher Bucks View Post
Anyone know what the process is to stop Google Chrome from caching website content?

Specifically when it comes to stylesheets.
Are you talking about 1 local browser as in testing, or all browsers as in production? If the latter, are you using a reverse proxy like cloudflare?

Code:
style.css?<?php echo time(); ?>
Nginx or cloudflare rules at the server level and f12 in chrome to disable caching locally.

Caching is a huge bitch. the bane of my existence. I hope this helps you.
dave90210 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote