mordecaikipkorir / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

cache URL to cacheId() #196

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Adding a simple layer to cache the mapping of SERVER_NAME+REQUEST_URI to 
cacheId should yield quite a performance bump. This would allow most requests 
to bypass the entire architecture, including checking filemtimes, settings, etc.

The TTL should probably be low so that source file edits won't be ignored too 
long. Even very short TTLs should yield big gains under load.

This would be easiest built into the 2.2 refactoring, but hacking it into 2.1.4 
would probably be worth it.

Original issue reported on code.google.com by mrclay....@gmail.com on 5 Oct 2010 at 6:58

GoogleCodeExporter commented 9 years ago

Original comment by mrclay....@gmail.com on 3 Feb 2011 at 10:55