Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Plugin Based Template Cache Details »»
Plugin Based Template Cache
Version: 1.0.3, by orban orban is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.6.0 Rating:
Released: 07-22-2006 Last Update: Never Installs: 153
Uses Plugins
Additional Files  
No support by the author.

Removed on author's request.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 08-30-2006, 08:35 PM
Cybertims Cybertims is offline
 
Join Date: Nov 2005
Location: Bedfordshire
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any reason why the files it creates are being mae in the root folder and not in templates dir.....??

Cheers.
Reply With Quote
  #53  
Old 08-30-2006, 08:42 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you try to the set the path manually in the options?
Reply With Quote
  #54  
Old 08-30-2006, 08:47 PM
Cybertims Cybertims is offline
 
Join Date: Nov 2005
Location: Bedfordshire
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by orban
Can you try to the set the path manually in the options?
Tried that too......has no effect I'm afraid.

I'm running 3.5.5 on a windows server if that helps any.

Cheers
Reply With Quote
  #55  
Old 08-30-2006, 08:50 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't exactly know how paths on windows in PHP, maybe try \templates instead of /templates?
Reply With Quote
  #56  
Old 08-31-2006, 07:26 AM
amcd amcd is offline
 
Join Date: Oct 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by orban
I think if you are using gzip compression it doesn't matter at all, but correct me if I'm wrong.
orban, please think about my suggestion. gzip helps, but leaner templates are still desirable.

There are already a few plugins available here on vb.org for template compression, but i dont know how to integrate them with your product.

The drawback of those other plugins is that they try to compress the templates on every pageload, which means a lot of CPU cycles. If the same thing is implemented in your plug-in, the compression will happen only once when the template is added to the cache.

see what andreas has to say about compression:
https://vborg.vbsupport.ru/showpost....50&postcount=7

a few of the existing template compression threads:
https://vborg.vbsupport.ru/showthread.php?t=106333
https://vborg.vbsupport.ru/showthread.php?t=107615
https://vborg.vbsupport.ru/showthread.php?t=83248
https://vborg.vbsupport.ru/showthread.php?t=79923
https://vborg.vbsupport.ru/showthread.php?t=69787
https://vborg.vbsupport.ru/showthread.php?t=56589
https://vborg.vbsupport.ru/showthread.php?t=67142
Reply With Quote
  #57  
Old 08-31-2006, 10:55 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

https://vborg.vbsupport.ru/showthread.php?t=107615 (vB 3.5)
https://vborg.vbsupport.ru/showthread.php?t=67142 (vB 3.0)

Those two compress the templates and save them to the database (instead of realtime). So they will work with this plugin.

You just have to manually clear the templates/ cache folder after you compress them I think.
Reply With Quote
  #58  
Old 09-03-2006, 02:33 PM
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Location: TURKEY - Istanbul
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello orban

Sometimes forumdisplay not open,only blank page.But other thread is working without any problem.

When I clear completely template directory this problem gone.

Any idea for that ?
Reply With Quote
  #59  
Old 09-03-2006, 02:49 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, that's a tough one.

Is the server load okay?

Are you using APC/eAccelerator?

Did you change the template?

Next time it happens make a copy of the template directory and manually look for empty/corrupt files. (You could send me a zip of the folder too so I can have a look).
Reply With Quote
  #60  
Old 09-03-2006, 02:59 PM
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Location: TURKEY - Istanbul
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My server load sometimes peak,but my forum online normaly 1400-1800 (cookie timeout 900)

Yes I'm using APC cache.

Yes....when I change some template after this problem occured.Or when I enter censor words occured again.

Thanks
Reply With Quote
  #61  
Old 09-03-2006, 03:45 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it ONLY happen after changing censor words/templates? It might be a problem with too many requests so the file creation gets messed up.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05065 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete