Database cache api in js added