adnan, on 12 Aug 2010, 11:15 AM, said:
Nick, on 12 Aug 2010, 07:22 AM, said:
Possible Fix to Browser Cache Issue:
We have had this browser cache issue for long enough. It's downright frustrating. I've seen some of Studentis's staff attempt to fix it, but it usually ended in failure. So, I've taken matters into my own hands. Just like I did with our skin problem. And.. it seems like I "fixed" the refresh problem.
Now, it's pretty much impossible to literally fix the "actual" cache issue without server access, but I have come up with a simple solution.. that actually seems to work.
I've inserted a code into the "AR Neo (Default)" theme's header. This code tells the user's browser to NOT load the cache. In simple terms, it ignores the page stored on the user's computer, and loads a fresh one.
<%
Response.Expires = 15
Response.ExpiresAbsolute = Now() - 2
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "private"
%>
This sort of "by-passes" the current forum cache problem. With this script in our header, pages *should* show new posts when refreshed.. without force refreshing. (CTRL-F5)
This will work in ALL browsers. However, you MUST be using our default AR Neo skin. (Why wouldn't you?
)
These changes can not be seen instantly though. You must either force refresh every page, or clear your browser cache.
Here are instructions on how to clear your cache, for every browser.
For me, after clearing Google Chrome's cache, pages are loading new posts without force refreshing.
Hope this works. Please post your feedback.
That is ASP code node PHP or Javascript. It wont work even if you try your hardest
I thought it was working for me. But I guess not at this point..
However, I still don't understand WHY it can't be fixed. What I'm trying to do, is "ignore" the problem.. since none of us crew members have access to the server. I'll try some more code tonight.. But an explanation WHY the problem is existing should also be posted. And WHY it can't be fixed..
Quote
Did you receive the newsletter ?
Yes, I did. And I love it.
Thanks for adding the "Social Network" icons.