[jira] [Created] (LUCENE-3978) redo how our download redirect pages work

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (LUCENE-3978) redo how our download redirect pages work

Tim Allison (Jira)
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-3978) redo how our download redirect pages work

Tim Allison (Jira)

    [ 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-3978) redo how our download redirect pages work

Tim Allison (Jira)
In reply to this post by Tim Allison (Jira)

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

Uwe Schindler commented on LUCENE-3978:
---------------------------------------

Hi Hoss,
I have seen your commit and I now understand the reason for the redirect pages (to also count downloads by Google Analytics). As I also did GA tracking for webpages not long ago, there is a better/more correct solution to track downloads. The trick is to add some javascript to the source link that tells Google Analytics to create a "virtual pageview" when clicking on the link. The virtual pageview is counted on a "virtual" URI (e.g., the current URL with the redirect page, without http and hostname): http://support.google.com/googleanalytics/bin/answer.py?hl=en&answer=55529 In fact, the trick is to execute the analytics javascript on the link click and pass a "custom" url instead the default one from the current page.
               

> 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-3978) redo how our download redirect pages work

Tim Allison (Jira)
In reply to this post by Tim Allison (Jira)

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

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

Uwe: if i'm understanding that page correctly, this would only be possible for links where:
 a) link html is on our site
 b) we can control the html used to generate them
...which isfine for the bug buttons on lucene.apache.org, and any other download links we might want to include on those CMS pages, but not for things like links from wiki.apache.org, or the URLs we include in our plain text release announcement emails (that users just cut/paste) or that we submit to any other site to promote the release.

               

> 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Issue Comment Edited] (LUCENE-3978) redo how our download redirect pages work

Tim Allison (Jira)
In reply to this post by Tim Allison (Jira)

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

Hoss Man edited comment on LUCENE-3978 at 4/13/12 5:32 AM:
-----------------------------------------------------------

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:{code}
/([^/*)/mirrors-(.*)-redir.html /$1/mirrors-$2-redir.html?3.6.0
{code}
* 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.

(EDIT: 1. fix fucking code markup, 2. didn't mean for redir rule to include "latest")
               
      was (Author: hossman):
    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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Issue Comment Edited] (LUCENE-3978) redo how our download redirect pages work

Tim Allison (Jira)
In reply to this post by Tim Allison (Jira)

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

Hoss Man edited comment on LUCENE-3978 at 4/13/12 5:34 AM:
-----------------------------------------------------------

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:{code}
/([^/*)/mirrors-(.*)-latest-redir.html /$1/mirrors-$2-redir.html?3.6.0
{code}
* 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.

(EDIT: 1. fix fucking code markup, 2. didn't mean for redir rule to include "latest" ... sigh: 3. only ment to remove latest from the redir dest)
               
      was (Author: hossman):
    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:{code}
/([^/*)/mirrors-(.*)-redir.html /$1/mirrors-$2-redir.html?3.6.0
{code}
* 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.

(EDIT: 1. fix fucking code markup, 2. didn't mean for redir rule to include "latest")
                 

> 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-3978) redo how our download redirect pages work

Tim Allison (Jira)
In reply to this post by Tim Allison (Jira)

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

Uwe Schindler commented on LUCENE-3978:
---------------------------------------

Hoss: That's the problem. For links on external pages to our downloads we cannot track, only with a redirect page. But people adding links to their pages will always link-through, so we cannot enforce that they go through analytics code.

But analytics should track page usage (means the action "clicking link on our homepage") and not download usage in general (which is diametral somehow). Tracking of downloads is in Apache's responsibility.
               

> 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: [hidden email]
For additional commands, e-mail: [hidden email]