phpBBHacks.com - How Do I Clear My phpBB 3 Cache?
phpBBHacks.com, the place for phpBB users
FacebookMySpaceStumbleUpon
Since 2001
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Username:    Password:
Remember Me?    
   I Lost My Password!
Bookmark and Share
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 3 Tutorials
 See a User Guidelines violation? Please contact us.
Author Message

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 15372
Location: Harbinger, NC, U.S.A.

PostPosted: July 23rd 2009, 6:16 pm    Post subject: How Do I Clear My phpBB 3 Cache? Reply with quote

phpBB 3 features a cache system that creates static copies of phpBB files - primarily the ones related to the phpBB styles that you have installed. This is a good idea because it makes your site load faster and it reduces the amount of bandwidth that your phpBB uses, which saves you money and aggravation.

But, when it comes to installing phpBB hacks or making adjustments to your phpBB style(s), one of the most common reasons that something doesn't work or a change isn't reflected is because your phpBB is displaying an old, cached version of a file that you changed. For the change to take effect, you may need to clear your cache.

How do you do this? The simplest way is to go to your phpBB 3 admin panel and on the index page of that area, you will see your "Board statistics." Below that is an area titled "Resynchronise or reset statistics." This area features a series of "Run now" buttons. Look for the one next to "Purge the cache." Press this button, confirm your decision and your cache has been fully purged. Generally speaking, this will be perfect for most people looking to clear their cache.

Clearing the Template Files, Theme Files or Imagesets For a Specific Style

However, you may want to clear the cache for the specific template files, theme files or imagesets associated with a given style. To do this, once in the admin area, click on the "Styles" tab at the top. From there, you'll see "Templates," "Themes" and "Imagesets" in the left menu. Click the one you would like to clear.

You will now see a list of the styles you have installed. Under "Actions," click "Refresh" next to the one whose cache you wish to clear, confirm your decision and it has been cleared.

Making Major Changes? Tell phpBB 3 to Check if a File Was Updated

Finally, if you are making a number of changes, you can tell phpBB to check to see if a new version of a file has been uploaded, before it uses the cached one.

On your phpBB 3 admin panel index page, in the the left menu, under "Server Configuration," click on "Load settings." On the next page, at the bottom of "General options," you'll see "Recompile stale style components." Select "Yes" and press the "Submit" button at the bottom.

This is generally recommended only when you are making a bunch of changes because it can cause increased load on your server. After you have made your changes, you should switch this option back to "No."

Hopefully this tutorial has shown you the ways of the phpBB 3 cache. Thank you to Robert (lumpy burgertushie) and ~HG~ for the inspiration.
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 3 Tutorials All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB.it - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil - phpBB Portugal

Network: iFroggy Hosting - SportsForums.net - KarateForums.com - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Disclosure Policy - Staff - User Guidelines >

Copyright © 2001-2010. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. Hosted by 100MegsWebHosting. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.