Comment

Comment by sam152

Great project. For anyone interested in serving up static resources seamlessly, you can use something like the following in an Apache config:

  <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP_USER_AGENT} !^CoralWebPrx
    RewriteRule "\.(png|jpg|css|js)$" http://%{HTTP_HOST}.nyud.net%{REQUEST_URI} [L]
  </IfModule>
I wonder if this can be used in any interesting ways as a drop-in performance enhancement. Using it as an automatic domain sharding solution might be viable?
parent sam152 13 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton