librelist archives

« back to archive

Static files serving issue with 0.2

Static files serving issue with 0.2

From:
Vasil Vangelovski
Date:
2010-05-15 @ 11:26
Hi

We're using flask 0.2. For development we use the integrated debugging
server. However, there seems to be an issue when we change a js file
for example the server still sends a 304 (not modified) status code.
This doesn't happen when we turn off caching in firefox. Does anyone
else experience this?

Re: [flask] Static files serving issue with 0.2

From:
Armin Ronacher
Date:
2010-05-15 @ 14:37
Hi,

On 2010-05-15 1:26 PM, Vasil Vangelovski wrote:
> We're using flask 0.2. For development we use the integrated debugging
> server. However, there seems to be an issue when we change a js file
> for example the server still sends a 304 (not modified) status code.
That is not an issue with Flask but a current limitation of the Werkzeug 
SharedDataMiddleware.  As a work around, use shift+reload to force a 
load without cache.  This issue will be fixed with the next release of 
Werkzeug, maybe even a bugfix release.


Regards,
Armin