|
|
|
|
|
by sam152
4658 days ago
|
|
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? |
|