Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2244

phpBB Discussion • Re: Let's compile the CloudFlare settings

$
0
0
Overall if you are using the default settings in CL the only thing you should need to do to get phpBB to work correctly is either using remote_ip to restore the users IP or use one of the the extensions for phpBB.
First of all, I disabled CloudFlare cache as a page rule. Because I trust phpBB cache. Am I wrong about this?
phpBB's cache has completely different functionality than CL's cache. By default CL only caches common files that would typically be cached by browser. JS, CSS, images etc. By caching these files on CL they are delivered faster to the client and it reduces server load.

The only time this is an issue is if you change the file. If for example it's CSS file change the hash value in stylesheet.css for the file you edited to anything and purge phpBB's cache to increase the asset value. This will force the browser and CL to download stylesheet.css and any files with different hash value. This is something you will want to do regardless of whether you are CL or not because the browser has these files cached.

Quick tip, go into caching section, make sure caching level is set to standard an then go to caching rules. Create a new rule:

URI - Contains - /coal-forum/download/file.php?avatar=

Make it eligible for the cache. You can remove the avatar= part so it will cache all files but this will break phpBB permissions for files.

Statistics: Posted by thecoalman — Thu Jan 09, 2025 10:38 pm



Viewing all articles
Browse latest Browse all 2244

Trending Articles