Giter VIP home page Giter VIP logo

Comments (13)

jonathanstowe avatar jonathanstowe commented on June 9, 2024

Wouldn't a cdn hosted version help here?

from problem-solving.

zoffixznet avatar zoffixznet commented on June 9, 2024

Sure, but we currently use 1.something CDN on perl6.org and newer 2.1.4 CDN on modules.perl6.org. We need to bring everything up to use same version.

I should have time to look at this tomorrow.

from problem-solving.

moritz avatar moritz commented on June 9, 2024

+1 to using the same jquery version everywhere, -1 to using a CDN. The privacy issues simply aren't worth it.

from problem-solving.

zoffixznet avatar zoffixznet commented on June 9, 2024

@moritz

The privacy issues simply aren't worth it.

Would you have any info for me to look up regarding the privacy issues? I think it's the first time I hear of such an issue raised regarding serving JS libs from CDN.

from problem-solving.

moritz avatar moritz commented on June 9, 2024

@zoffixznet if you server JS files from a CDN, you give then one running the CDN a pretty accurate picture about who visits your site, and when. Which is really a leak of private information.

from problem-solving.

coke avatar coke commented on June 9, 2024

Note that because of the nature of the request, the first request from a
user is the one the CDN gets; future requests will come from cache until
it's cleared.

I think that for a public site about an open source language where we
probably have volunteers donating serving costs, using a CDN makes sense.

On Mon, Oct 19, 2015 at 1:02 AM, Moritz Lenz [email protected]
wrote:

@zoffixznet https://github.com/zoffixznet if you server JS files from a
CDN, you give then one running the CDN a pretty accurate picture about who
visits your site, and when. Which is really a leak of private information.


Reply to this email directly or view it on GitHub
https://github.com/perl6/perl6.org/issues/40#issuecomment-149099083.

Will "Coke" Coleda

from problem-solving.

asb-capfan avatar asb-capfan commented on June 9, 2024

I agree with @coke. Maybe it would be even better to let all the world know that the Perl6 web site is frequented across the word. It's kind of marketing.

from problem-solving.

jonathanstowe avatar jonathanstowe commented on June 9, 2024

I'm in the "not fussed by the potential privacy issue camp", but if it was considered to be important a fairly trivial expedient would be to make a rewriting proxy on the server(s) (trivial assuming apache with mod_rewrite available.)

from problem-solving.

zoffixznet avatar zoffixznet commented on June 9, 2024

make a rewriting proxy on the server(s) (trivial assuming apache with mod_rewrite available.)

👍 on that. We can then have just one place to edit when upgrading in the future (as opposed to, currently, 3, if we use a CDN).

And mod_rewrite can also be used for this Issue, if enabled: Raku/modules.raku.org#13

from problem-solving.

jotasprout avatar jotasprout commented on June 9, 2024

I can't find a reference to a jquery file in any of the files in my local repo but looking at the source for the live site shows a link to a CDN. Should this issue be closed?

from problem-solving.

zoffixznet avatar zoffixznet commented on June 9, 2024

The perl6.org's jQuery inclusion is here and modules.perl6.org's jquery inclusion is here. While the two versions are the same these days, it would be nice to see if they can be upgraded to latest and greatest. I see jQuery 3.1 is out, while the sites still use 1.13.

from problem-solving.

zoffixznet avatar zoffixznet commented on June 9, 2024

Just remembered: our docs site has jQuery on it too. That one is version 1.11.3

from problem-solving.

coke avatar coke commented on June 9, 2024

Also Raku/raku.org#204

from problem-solving.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.