Previous Thread
Next Thread
Print Thread
Hop To
#108057 02/01/2001 7:22 PM
Anonymous
Unregistered
Anonymous
Unregistered
I have some users saying that they have to manually Reload the UBB pages in order to see the most recent post despite having their browser set to compare the page to cache every time. They claim other UBB sites work fine. Then there are others who have no problems with any site, mine included. Any idea what is causing the problem for those who have to hit Reload all the time? Did I screw something up in the install (incorrect CHMOD on a file or directory perhaps)? Any help would be appreciated. If I can do anything to alleviate their refresh problem then I want to do it. Thanks!

Fwiw I don't experience the problem.

ps
This site is slooooooow. Is that because it's version 6 or because the site overloaded with traffic?

Anonymous
Unregistered
Anonymous
Unregistered
It is difficult, if not completely impossible to properly diagnose most UBB problems without knowing which version of the UBB you are using, as well as the EXACT URL to your Ultimate.cgi, (NOT a link to your webpage). Please provide this information. Thanks. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
Version is in the subject (5.47d).
URL is www.colorado4x4.org/cgi-bin/Ultimate.cgi

A thread where we've been discussing this: http://www.colorado4x4.org/ubb/Forum3/HTML/000011.html

Again, most don't have a problem but some do experience this only on this site... other UBB sites refresh fine for them. Tough for me to diagnose too since I don't experience the problem. Thanks for taking a look at it. Everything works great except this refresh issue for some users.

Anonymous
Unregistered
Anonymous
Unregistered
Your users mentioned having their browsers set to verify the document each time, yet it's still being cached. This usually indicates that their ISP has a caching proxy server between them and the rest of the net.

There are a few server side fixes for this. Are you on Unix and Apache or NT/Win2k and IIS?

Anonymous
Unregistered
Anonymous
Unregistered
The server is on Unix (actually it's Linux, Redhat 6.1). Thanks for any help!

Anonymous
Unregistered
Anonymous
Unregistered
Okay - create a .htaccess file in your UBB's noncgi directory containing the following lines:

<FilesMatch *.html>
Header add Cache-control no-cache
</FilesMatch>

Anonymous
Unregistered
Anonymous
Unregistered
Ok I'll give it a try, thanks. Does this need to go in the root directory or public_html directories as well or just in the ubb directory (my non-cgi)? I'll let you know if it helps. Thanks!

Anonymous
Unregistered
Anonymous
Unregistered
do I need to chmod it to 755 or anything?
Right now it's 644 (rw-r--r--).

Anonymous
Unregistered
Anonymous
Unregistered
644 will be just fine.

Anonymous
Unregistered
Anonymous
Unregistered
Appears to be working great, thank you very much!!

Anonymous
Unregistered
Anonymous
Unregistered
Quick question for you... I do plan to upgrade to UBB6 once it's out of beta and your comments in this thread got me thinking:
http://www.scriptkeeper.com/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=22&t=006669

My question is probably obvious but here goes anyway... does UBB6 really take care of this caching issue by itself or would I need to retain the .htaccess file? If UBB6 addresses it then should I remove the .htaccess file when I upgrade? Thanks for all your help!

Anonymous
Unregistered
Anonymous
Unregistered
UBB6 destroys every caching issue - caches are forbidden by design to cache pages that appear to be generated by a CGI script. Even though the static HTML pages are still on the server, you now just need to go through the UBB's script to view them. The pages are now literally impossible to cache, unless the cache has been designed to be broken. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 803 guests, and 448 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)