[openstreetmap-website] Turning off caching on /api/ endpoints w/ CORS (#220)

Tom Hughes notifications at github.com
Mon Mar 25 16:42:34 UTC 2013


They're not "cached by the rails port" but rather your browser has cached it and sends an If-None-Match asking if it is still the same and we say "yes it is" because the hash hasn't changed.

Why is this a problem? We've said it hasn't changed, and it hasn't, so the browsers cached copy is fine?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/220#issuecomment-15404869
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130325/5de8bfda/attachment.html>


More information about the rails-dev mailing list