[ 
https://issues.apache.org/jira/browse/LUCENE-3978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252940#comment-13252940
 ] 

Hoss Man commented on LUCENE-3978:
----------------------------------

when we released 3.6, we ran into a few annoyances...

* these pages require that you edit the template (not availbale in the 
bookmarklet) to change the 3.5.0 to 3.6.0 in the final URL
* these pages were in browser caches, so they weren't seeing the cahnges in the 
javascript redirect (rmuir added some no-cache metadata headers, so hopefully 
this won't be a problem again)

My suggestion for the future...

* eliminate these templates and their mdtext pages entirely
* replace them with a .htaccess redirect rule that looks like: 
{{/([^/*)/(.*)-latest-redir.html /$1/$2-redir.html?3.6.0}}
* update the templates for mirrors-solr-redir.mdtext and 
mirrors-core-redir.mdtext so that the javascript will use the query string when 
building the final URL

...that way whenever we release a new version, we can just tweak the .htaccess 
rule, and the only "html pages" that might ever show up in an http or browser 
caches will have unique URLs per version.

                
> redo how our download redirect pages work
> -----------------------------------------
>
>                 Key: LUCENE-3978
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3978
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Hoss Man
>             Fix For: 4.0
>
>
> the download "latest" redirect pages are kind of a pain to change when we 
> release a new version...
> http://lucene.apache.org/core/mirrors-core-latest-redir.html
> http://lucene.apache.org/solr/mirrors-solr-latest-redir.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to