Previous Thread
Next Thread
Print Thread
Rate Thread
#114957 12/16/2002 2:17 PM
Joined: Mar 2001
Posts: 80
Member
Member
Offline
Joined: Mar 2001
Posts: 80
Hi,

If I modify public_topic_page.pl so that the displayed output differs if the user is a mod/admin or normal/unregistered users does that break the chache?

And if so am i right in thinking that the cache is considerd broken if the output displayed to the user can change in any way based upon who the user is.

And one last question, If the cache is broken by something in public_topic_page.pl in one formum, how does this affect another forum using a template with a standard public_topic_page.pl. I mean does the cache still function oK?

Sorry for all the questions, I am just trying to get a better understanding of how the cache works.

Thanks for your time

Sponsored Links
#114958 12/16/2002 3:33 PM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
Depends how you do it. If it's done server side, yes it breaks the cache. If it's done via JS on the client side, nope.

And for your last question, I don't know, but I don't think so.

#114959 12/17/2002 5:33 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
What Dave said for the first question... for the second, if you're using a template that doesn't change output on the server side based on the client side, then it won't break the cache smile In other words, what Dave said for both smile


- Allen wavey
- What Drives You?
#114960 12/17/2002 5:41 PM
Joined: Mar 2001
Posts: 80
Member
Member
Offline
Joined: Mar 2001
Posts: 80
Is there any chance you could clear that up a bit, it dosnt really answer my question.

And if it does, then it dosn't answer it at my level, hence I asked the question.

#114961 12/17/2002 6:40 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
If you use a javascript to change/add content, then no, it wouldn't break the cache (like how we do the times here on the forum). If you change the content using edited html code done servers-side, then yes it will smile


- Allen wavey
- What Drives You?
Sponsored Links
#114962 12/17/2002 6:51 PM
Joined: Mar 2001
Posts: 80
Member
Member
Offline
Joined: Mar 2001
Posts: 80
Sorry allen, i understood that from daves first answer and from what i stated in my opening post.

Its the last question that i need answering, If i break the cache in one forum by editing the templates for that forum, how does it effect the other forums that are using standard unedited templates. Is the cache broken completely or will it still function for the untouched forums.

Paul

#114963 12/17/2002 7:25 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
it still functions smile


- Allen wavey
- What Drives You?
#114964 12/17/2002 7:30 PM
Joined: Mar 2001
Posts: 80
Member
Member
Offline
Joined: Mar 2001
Posts: 80
Thanks.

I hoped it would.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)