vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Board Optimization - Plugin Based Template Cache (https://vborg.vbsupport.ru/showthread.php?t=113002)

DementedMindz 04-14-2006 10:27 PM

yeah im going to after i watch this game.. but if you do it first let me know how it goes :)

MissKalunji 04-14-2006 10:39 PM

/me clicks installed and works well! very well! no error so far

orban 04-14-2006 11:26 PM

Quote:

Originally Posted by Gizmo5h1t3
had this running for 10 minutes, and alreadfy the "template" folder is 6 mb in size????

Well, it saves the all the templates used in one page, and if you have a lot of styles and templates it can easily get to 6mb. on my site with just the normal templates it goes to 3mb after a few hours.

Yes, it WILL stop eventually, when every possible page has been browsed to. It's normal that the files get created over time, because when you install it/clear the cache, it might take a while until a user goes to the FAQ page for example.

Quote:

Originally Posted by DementedMindz
ok another question when we Create a directory templates... now is there a way we could add a index.html or .php to it... as i think it wouldnt be to wise to have it open to public

You should disable directory browsing anyway. I'll exclude index.php/index.html from the files to be deleted in the next update.

Also it's really no problem to have these files public because they just define variables, no output anyway.


--


The worst thing that can happen is that it won't create any files, and even if that happens you won't notice any errors. :)

Kihon Kata 04-14-2006 11:28 PM

Installed! So, how big will the directory get? Mine is getting huge in 5 mins.

MissKalunji 04-15-2006 12:07 AM

the same size that your template has

orban 04-15-2006 08:20 AM

Quote:

Originally Posted by MissKalunji
the same size that your template has

Actually it gets bigger. It doesn't save every template to a file, but it saves collections of templates to files. For example showthread.php uses (1,2,3,45,67,123,234,454) then all those get saved to a file and then if you call showthread.php a second time those get included.

It shouldn't get bigger than 10-20mb though I'd say. If it does there's something wrong.

Gizmo5h1t3 04-15-2006 08:53 AM

mine went up to just short of 11 meg, then it cleaned itself out.......quality

orban 04-15-2006 09:19 AM

Well, did you edit/insert a template?

beebi 04-15-2006 11:07 AM

nice one

MissKalunji 04-15-2006 11:42 AM

Quote:

Originally Posted by orban
Actually it gets bigger. It doesn't save every template to a file, but it saves collections of templates to files. For example showthread.php uses (1,2,3,45,67,123,234,454) then all those get saved to a file and then if you call showthread.php a second time those get included.

It shouldn't get bigger than 10-20mb though I'd say. If it does there's something wrong.


you lost me a bit....

If you open showthread a second time...those get included???


All times are GMT. The time now is 02:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02109 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete