Jibi Abraham
Jibi Abraham

Reputation: 4696

Force GAE to update all files on deployment

Is there a way to force GAE to upload and update all files, even if it thinks it doesn't require any updations?
Clarification - If I make quick back-to-back updates, I find that certain files, that were definitely modified, refuse to be updated online. Apart from assigning version numbers to force the update, which is very painful, is there another way?

EDIT - I'm referring to javascript files

Upvotes: 0

Views: 128

Answers (1)

Shay Erlichmen
Shay Erlichmen

Reputation: 31928

Those files do get updated, you don't see the update because of caching that happens in some where a long the chain. In order to get the latest files load the file with a slug (e.g. http://myapp.com/scripts/script.js?slug) and update the slug each time you deploy your application.

Upvotes: 1

Related Questions