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 10-18-2012, 07:31 PM   #1
clickhappy
Confirmed User
 
Industry Role:
Join Date: Mar 2004
Posts: 4,027
How do you do a forced page refresh?

I did this but it doesnt seem to work

<SCRIPT LANGUAGE=JavaScript>
function now(){
window.location.reload(true);
}
</SCRIPT>

I changed some stuff on the page and when I went to my second computer to look at it, it looked all fucked up because the .css didnt refresh.
even with that javascript on top

many of my members wont know to hit refresh.
So how can I force their browser?
clickhappy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-18-2012, 08:15 PM   #2
DigitalTheory
^-^
 
Industry Role:
Join Date: Jul 2007
Location: SacTown
Posts: 1,055
<meta http-equiv="refresh" content="60"> 60 being seconds

But it seems excessive if you just want their site to update the css. Sounds like a Cache problem to me.

Last edited by DigitalTheory; 10-18-2012 at 08:16 PM..
DigitalTheory is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-18-2012, 08:28 PM   #3
clickhappy
Confirmed User
 
Industry Role:
Join Date: Mar 2004
Posts: 4,027
Quote:
Originally Posted by DigitalTheory View Post
<meta http-equiv="refresh" content="60"> 60 being seconds

But it seems excessive if you just want their site to update the css. Sounds like a Cache problem to me.
I found a trick and it really works
http://www.zadling.com/2010/08/css-t...ew-stylesheet/

so clever
clickhappy 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



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.