title: Serve phpBB static resources from a different server?
body: <p>phpBB has many static resources and serving them from a different server than the dynamic forum's server could mean a notable performance increase. We can set expires headers far into the future and possibly utilize a CDN in the future.</p>
  
  <p>From checks I've done so far it seems that changing <em>functions.php</em> to indicate a different base directory might work. Code</p>
  
  <pre><code>$web_path = '//some.new.domain/path'/*(defined('PHPBB_USE_BOARD_URL_PATH') &amp;&amp; PHPBB_USE_BOARD_URL_PATH) ? $board_url : $phpbb_root_path*/;
  </code></pre>
  
  <p>However, it's unclear to me if this may have other implications such as making the uploads directory inaccessible as paths seem local to the server. Also, it doesn't resolve the generation of dynamic CSS using <em>styles.php</em></p>
  
  <p>Is there a quick way to indicate changes to static resources without breaking phpBB code?</p>