This utility is useful for hot reloading .class files in defined directories during development.
Compiled script is cached.
Compiled script is cached. Cache with size 1024. Least recently used element is removed first.
Threadsafe, non-distributed LRU cache.
Threadsafe, non-distributed LRU cache.
http://stackoverflow.com/questions/221525/how-would-you-implement-an-lru-cache-in-java-6
Xitrum uses this for storing etags for static files. Each web server in a cluster has its own cache of (file path, mtime) -> etag.
Note that Secure is for preventing a user to mess with his own data to cheat the server.
Note that Secure is for preventing a user to mess with his own data to cheat the server. CSRF is for preventing a user to fake other user's data.