On Feb 4, 4:20 pm, philt <
phil-goo...@teuwen.org> wrote:
> Hi Michael,
Hi Phil,
> Apparently your server is an Apache so after googling myself I found
> those pages:
http://www.askapache.com/htaccess/speed-up-sites-with-htaccess-cachin...http://httpd.apache.org/docs/2.0/mod/mod_expires.htmlhttp://httpd.apache.org/docs/2.0/mod/mod_headers.html#headerhttp://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
>
> So I guess having a .htaccess in packages/ with sth like that is good
> enough
> (be sure to have modules expire and headers and to allow .htaccess
> files)
> <FilesMatch "(list|deps|newest_version|README)$">
> <IfModule mod_expires.c>
> # any Expires Directives go here
> ExpiresActive On
> ExpiresDefault access
> </IfModule>
> <IfModule mod_headers.c>
> # any Header directives go here
> Header set Cache-Control "no-store, no-cache, must-revalidate, max-
> age=0"
> Header set Pragma "no-cache"
> </IfModule>
> </FilesMatch>
>
> And same for ../install
thanks for doing the research, things have been busy at SD7, but I
have added your info to the trac ticket and will hopefully have time
to solve this soon. I have to work on the
sagemath.org webserver
today, so hopefully it will be reolved easily.
> To be tested with sth like:
> wget -O /dev/null -Shttp://
www.sagemath.org/packages/standard/list
> to see the headers returned by the Apache server
>
> PS: I've troubles updating sage-scripts because I modified sage-update
> file to bypass this problem, I'll describe it in a separate email.
ok, I hope you already did that.
Cheers,
Michael