vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Caching the buttons? (https://vborg.vbsupport.ru/showthread.php?t=45038)

WoodiE 10-26-2002 09:33 PM

Caching the buttons?
 
Does anyone know how to make it so that the buttons and such on my forum will Cache so that they are not reloaded each time my members goto a different thread?!?!

-WoodiE

N9ne 10-26-2002 09:38 PM

I would also like to know if this is possible..

Erwin 10-27-2002 01:29 AM

Do this:

1) In Admin CP, vBulletin Options, make sure no-cache headers is OFF.

2) Use RELATIVE PATHS for images, NOT absolute paths.

For image paths, do NOT use http://www.youdomain.com/forums/images

Use this instead:
images

To do this, in your Admin CP, under Styles, click on Modify, then in EACH of your styles (Default and customs),

Find this section and use the variables given:

Image Paths
Image folder path - images

Title image path - images/logo.gif

Reply image path - images/reply.gif

New thread image path - images/newthread.gif

Closed thread image path - images/threadclosed.gif

By using RELATIVE paths, your images will be cached. By using ABSOLUTE paths, your images will NOT be cached.


All times are GMT. The time now is 10:41 AM.

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.01499 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete