Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
03-14-2022, 07:58 AM | #1 |
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana.
Posts: 709
|
Turn off caching in Chrome?
Anyone know what the process is to stop Google Chrome from caching website content?
Specifically when it comes to stylesheets. |
03-14-2022, 08:27 AM | #2 |
Registered User
Industry Role:
Join Date: Mar 2022
Posts: 55
|
If we are talking about tags by type:
<link rel="stylesheet" href="/style.css"> it is enough to add any get request to the link, and when you want everyone to have the file updated, update the value in the get request. For example: <link rel="stylesheet" href="/style.css?v=1"> <link rel="stylesheet" href="/style.css?v=2"> <link rel="stylesheet" href="/style.css?v=3">
__________________
YourAdultPorn - porn video for every taste YourAdultPorn - thousands of videos where you will find something for yourself YAP - just our short name |
03-14-2022, 01:10 PM | #3 | |
Registered User
Join Date: Mar 2007
Posts: 1,745
|
Quote:
Code:
style.css?<?php echo time(); ?> Caching is a huge bitch. the bane of my existence. I hope this helps you. |
|
03-14-2022, 02:06 PM | #4 |
Monger Cash
Industry Role:
Join Date: Jul 2010
Posts: 2,770
|
Windows/*nix: Ctrl+Shift+R
Mac: Cmd+Shift+R Doesn't disable caching, but it clears it for the current page on reload. |