citcit / autoembed

Automatically exported from code.google.com/p/autoembed
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Remote Stub List #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Ideas on having one remote stub list
-----------------

Pros:
* Stubs can be updated w/out having to distribute new versions each time a
stub is modified.

Cons:
* Latency Issues
* Making a mistake on the stubs file could potentially break the stubs of
all users w/out them knowing

Original issue reported on code.google.com by phpu...@gmail.com on 12 Jan 2009 at 3:02

GoogleCodeExporter commented 8 years ago
Caching Methodology
--------------------

* Version our remote stub file
* When a request is made, cache the stub found
* Modify the class to query for most recent stub version every 12 hours or so
* If a new stub file is available, clear the cache and start over

Original comment by phpu...@gmail.com on 12 Jan 2009 at 3:05