My static files (JS/CSS) are cached in the browser. But if there is a bug
in a file, an update won't help people which have already cached the old file.
You would need a new URL for every change in the JS/CSS files.
How do you handle this?
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
My static files (JS/CSS) are cached in the browser. But if there is a bug
in a file, an update won't help people which have already cached the old file.
You would need a new URL for every change in the JS/CSS files.
I keep the file name the same and append a querystring eg.
/static/js/mycustom.js?v=1001 then just increment the querystring on
versioning.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Sent from my iPhone, please excuse any typos
That works but may bust intermediate caches. Some won't cache anything with a query string.
Malcolm
Hi Malcolm,
which application does not cache URLs with a query string? I think most do, or am I wrong?
On 09.06.2011 19:18, Malcolm Box wrote:
> On 9 Jun 2011, at 14:21, DrBloodmoney <drbloo...@gmail.com> wrote:
>
>> On Thu, Jun 9, 2011 at 9:16 AM, Malcolm Box <malco...@gmail.com> wrote:
>>> On 9 June 2011 08:09, Thomas Guettler <h...@tbz-pariv.de> wrote:
which application does not cache URLs with a query string? I think most do, or am I wrong?Malcolm Box