hi,
to speedup trac, we use wsgi with caching settings like described
below, and our users are quite happy about this. but, this has a
disadvantage that the edit links are cached as well, and a user
editing pages gets the old version.
so the question is:
what is the best possibility / easy to implement possibility to avoid
caching links when editing, or get a hint that newer versions exist?
1. set an expire immediately and mod_wsgi leaves this then alone
2. add a random number to the url
3. any other idea?
the detailed wsgi settings:
WSGIDaemonProcess sites user=www-data group=nobody processes=3
threads=25
WSGIScriptAlias /projects /opt/csw/apache2/data/cgi-bin/trac.wsgi
WSGIRestrictStdout Off
<Directory /opt/csw/apache2/data/cgi-bin>
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
ExpiresActive On
ExpiresDefault A300
ExpiresByType image/x-icon A3600
ExpiresByType image/gif A3600
ExpiresByType image/jpg A3600
ExpiresByType text/css A3600
ExpiresByType text/javascript A3600
</Directory>
rupert.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---