Move to mongodb and make static url local usable