Hi,

   If there a simple apache configuration that is know to make browser
cache the javascript message file ('jsi18n') in a standard apache
django production setup ?
  I've tried to add :

        <Location "/jsi18n/">
             ExpiresActive on
             ExpiresDefault "access plus 1 month"
        </Location>

  To my django virtual host and then I get this headers in the reply :
  HTTP/1.1 200 OK
  Date: Wed, 05 Mar 2008 17:54:25 GMT
  Server: Apache
  Vary: Accept-Language,Cookie,Accept-Encoding
  Content-Type: text/javascript
  Content-Language: en-us
  Cache-Control: max-age=2592000
  Expires: Fri, 04 Apr 2008 17:54:25 GMT
  Connection: close

    But my browser (firefox) keeps requesting this file for every
(html) request that includes it ...

   Any idea ? Help ?

Regards,

Alan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to