tsukhu / rwd-spa-alljs-app

Responsive Single Page Application using an end to end Java Script stack
http://tsukhu.github.io/rwd-spa-alljs-app
MIT License
15 stars 10 forks source link

Clearing of Cache for the REST APIs #1

Open tsukhu opened 10 years ago

tsukhu commented 10 years ago

When the structure of the destinations document was updated (like adding an additional attribute of 'image') , it seems that Node.js was caching the previous output and the getAllDestinations API was not returning the new attribute and its values. As a workaround , the port for the http server was changed to 4000 from 3000 to get this working. Need to investigate on how to clear the cache in the Express and Connect modules.