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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-14-2022, 07:58 AM   #1
Publisher Bucks
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.
__________________
DMCASUITE
BETA Testers Needed.
Publisher Bucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2022, 08:27 AM   #2
youradultporn
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
youradultporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2022, 01:10 PM   #3
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
Old 03-14-2022, 02:06 PM   #4
vdbucks
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.
vdbucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2022, 03:48 PM   #5
Publisher Bucks
Confirmed User
 
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana.
Posts: 709
Awesome, thank you all for the help
__________________
DMCASUITE
BETA Testers Needed.
Publisher Bucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
chrome, caching, content, website, specifically, stylesheets, google, process, stop



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.