Comments (13)
Wouldn't a cdn hosted version help here?
from problem-solving.
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.
+1 to using the same jquery version everywhere, -1 to using a CDN. The privacy issues simply aren't worth it.
from problem-solving.
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.
@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.
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.
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.
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.
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.
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.
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.
Just remembered: our docs site has jQuery on it too. That one is version 1.11.3
from problem-solving.
Also Raku/raku.org#204
from problem-solving.
Related Issues (20)
- How to organize the maintenance of localizations HOT 7
- API for RakuDoc v2 HOT 1
- Inbound P6/Raku URLs are currently broken HOT 2
- http://doc.perl6.org/ --> https://docs.raku.org? (Thousands of inbound P6/Raku URLs are currently broken) HOT 7
- dd does not show coercion type on scalars HOT 5
- TAP refers to Perl 6 HOT 2
- LEAVE phaser with return HOT 46
- Metamodel concurrency problems HOT 17
- Named arguments don't respect canonical `key => value` convention (specific example of `mm-dd-yyyy` routine) HOT 15
- Add `.bufs`/`.blobs` methods to `IO::Path` / `IO::Handle` HOT 6
- `when` doesn't support smartmatching against a pointy block HOT 8
- Code highlighting / inspection / IDE tooling HOT 6
- Using multiple named arguments gives different result than just supplying value alone; specific example of `splice`. HOT 22
- Will we ever need more than 64K unique strings at compile time? HOT 4
- Add "short-index" version of often occurring ops HOT 1
- Behavior of type-constrained parameters is surprising given other behavior HOT 65
- Add `nomark` for striping accents, `samemark` is counterintuitive and slow for that purpose. HOT 3
- Root(s) - missing prefix operators HOT 1
- Enabling `no strict` for `raku` one-liners (and perhaps REPL) HOT 8
- Should `.flatmap` be really DEPRECATED or not? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from problem-solving.