dynamic resource server script (php): feedback wanted
Hi everyone,
I'm looking for feedback on a project: https://github.com/customanything/LDRS
Typically, a webpage will be linked to several resources, such as javascript and stylesheets, which all need to be requested by the browser before the page is "complete."
The sheer number of HTTP requests is usually a bigger "bottleneck" than the total size of the downloaded resources. Because of this, combining resources into a single file is considered good practice - but an individual webpage might not actually use all of it.
LDRS (Lightweight Dynamic Resource Server) allows webpage resources to be served via a single HTTP request. This allows your webpage/application to avoid the overhead of extra HTTP requests, but still retrieve only those resources that are actually needed.
Thanks in advance. Comments and questions are encouraged, either here or by email.
LDRS at custom-anything dot com
p.s. this is actually a part of a much larger project that I'm working on, but this is ready now and the rest isn't :)