The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Change the Cached Posts Lifespan to 0 if [code] in message
Is there any way to only change the cached posts lifespan to 0 IF the post contains the [code] tag?
|
#2
|
|||
|
|||
the lifespan is not related to the content of the posts but to the global setting of your board, for control and stability... having a per-post setting would be desastrous on serverload...
|
#3
|
||||
|
||||
I know, but I need cache load 0 only for posts that contain code, it can cache the others.
so the question is, is it less load for all to have cache 0 or for it to figure it out per post... |
#4
|
||||
|
||||
*** Untested ***
bbcode_fetch_tags PHP Code:
|
#5
|
|||
|
|||
Actually is there a way to disable a post cache based on if it had a certain bbcode in it? Server load isn't a huge issue for me since I have my own dedi and I am not using all of it... However, I see the above I just don't understand where I would insert it to set it up to work with the bbcode we have in place...
Thanks for your help, Semere |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|