6 ms·
It's cached on my server using varnish http://varnish-cache.org http://varnish-cache.org, which uses LRU caching with ttls. A very cool open source web caching
by iradik 15y ago
It's cached on my server using varnish http://varnish-cache.org http://varnish-cache.org, which uses LRU caching with ttls. A very cool open source web caching project. I use a configuration very similar to media wiki where I set long ttls and then have the backend send a PURGE http message followed by a GET to varnish when a file is updated to refresh the cache.
- judofyr 15y agoI've point briefly looked at the Dropbox API, but couldn't figure it out; how do you detect when a file has changed?
- iradik 15y agoThere is no push api or list of changes at this point. You can check each directory to see if it's changed... by passing a hash to the metadata function. It will tell you if the directory has been modified in any way.