View unanswered posts | View active topics It is currently Thu Mar 28, 2024 10:44 am



← Back to the Calcudoku puzzle page




Reply to topic  [ 23 posts ]  Go to page Previous  1, 2, 3  Next
 skip loading of Facebook / Google plus / Twitter code 
Author Message

Posted on: Tue Sep 24, 2013 1:00 am




Posts: 253
Joined: Tue May 24, 2011 4:55 pm
Post Re: skip loading of Facebook / Google plus / Twitter code
pnm wrote:
I'm also replacing all small images on the page with a "CSS sprite"
(basically one combined images that is chopped up by the browser),
which should result in speedier loading of the page.

(6 "icons" and the flags have been done, more to follow..)

Patrick

Edit: almost all small images have been merged into one, the page should load
much faster, even on a full reload (Shift + Ctrl + R on some platforms) :-)

This did work wonders: The puzzles started loading lightning-fast – except maybe the very first time I loaded the site each day, which was not a problem. But today, during the first hour after midnight CET, all puzzles are loading slowly again, especially the timed ones, which sometimes don't load at all. The automatic submission of solutions is also slow. I know this is a traffic issue, but it did seem like it had become less of an issue after you did the optimisation. [confused]


Profile
User avatar

Posted on: Tue Sep 24, 2013 9:53 am




Posts: 3296
Joined: Thu May 12, 2011 11:58 pm
Post Re: skip loading of Facebook / Google plus / Twitter code
bram wrote:
But today, during the first hour after midnight CET, all puzzles are loading slowly again, especially the timed ones, which sometimes don't load at all. The automatic submission of solutions is also slow. I know this is a traffic issue, but it did seem like it had become less of an issue after you did the optimisation. [confused]

I'll look at the traffic stats of the server and will get back to you on this.

Possibly another tweak, like disabling the 'solved puzzles ticker' during the first hour, would help a lot here.


Profile
User avatar

Posted on: Fri Sep 27, 2013 2:31 pm




Posts: 3296
Joined: Thu May 12, 2011 11:58 pm
Post Re: skip loading of Facebook / Google plus / Twitter code
A silly bug _still_ made the page load Facebook and Google+ javascript code,
even with the "Don't load" option checked (!)

This has been fixed now, so the page should load even faster [woot]

Some stats: 10 people have the option to not load Facebook/Google+/Twitter enabled,
4 people have disabled the "solved puzzles ticker" ...

I'm still looking for translations into Spanish, Italian, German, Chinese, Japanese and Russian for these lines:
Don't load Facebook/Google+/Twitter code
Don't show the "solved puzzles ticker"

Any volunteers? [wink]


Profile

Posted on: Fri Sep 27, 2013 5:42 pm




Posts: 253
Joined: Tue May 24, 2011 4:55 pm
Post Re: skip loading of Facebook / Google plus / Twitter code
pnm wrote:
A silly bug _still_ made the page load Facebook and Google+ javascript code,
even with the "Don't load" option checked (!)

This has been fixed now, so the page should load even faster [woot]
Strange: At the moment (ca. 17:30 CET) all I get when trying to access calcudoku.org in Firefox is "Problem loading page" / "The connection to the server was reset while the page was loading" messages. But when I add /forum to the URL the forum page loads without a problem [confused]


Profile
User avatar

Posted on: Fri Sep 27, 2013 5:49 pm




Posts: 3296
Joined: Thu May 12, 2011 11:58 pm
Post Re: skip loading of Facebook / Google plus / Twitter code
bram wrote:
At the moment (ca. 17:30 CET) all I get when trying to access calcudoku.org in Firefox is "Problem loading page" / "The connection to the server was reset while the page was loading" messages. But when I add /forum to the URL the forum page loads without a problem [confused]

For me the server is a bit on-and-off as well at the moment (~ 17.45 CET), can't see yet what's causing it.


Profile

Posted on: Fri Sep 27, 2013 10:13 pm




Posts: 855
Joined: Fri May 13, 2011 6:51 pm
Post Re: skip loading of Facebook / Google plus / Twitter code
pnm wrote:
A silly bug _still_ made the page load Facebook and Google+ javascript code,
even with the "Don't load" option checked (!)

This has been fixed now, so the page should load even faster [woot]

Some stats: 10 people have the option to not load Facebook/Google+/Twitter enabled,
4 people have disabled the "solved puzzles ticker" ...

I'm still looking for translations into Spanish, Italian, German, Chinese, Japanese and Russian for these lines:
Don't load Facebook/Google+/Twitter code
Don't show the "solved puzzles ticker"

Any volunteers? [wink]


Spanish:
No descargar el código para Facebook/Google+/Twitter
No mostrar la banda con los "crucigramas resueltos"

Best, clm


Profile

Posted on: Sat Oct 19, 2013 9:44 am




Posts: 3
Joined: Thu Sep 05, 2013 5:06 pm
Post Re: skip loading of Facebook / Google plus / Twitter code
pnm wrote:
I'm still looking for translations into Spanish, Italian, German, Chinese, Japanese and Russian for these lines:
Don't load Facebook/Google+/Twitter code
Don't show the "solved puzzles ticker"

Any volunteers? [wink]

Russian:
Не загружать код Facebook/Google+/Twitter
Не показывать напоминание о решенных головоломках

Well i can additionally help with russian translation if you need it :) cause sometimes translation is awfull. For example
Welcome back, %username% will look better "С возвращением, %username%" and not "Приветствуем Ваше возвращение, %username%"

PM me if interested [wink]


Profile
User avatar

Posted on: Sat Oct 19, 2013 11:52 am




Posts: 3296
Joined: Thu May 12, 2011 11:58 pm
Post Re: skip loading of Facebook / Google plus / Twitter code
fb_15592 wrote:
PM me if interested [wink]

Thanks a lot, definitely :)

I just made those changes. You'll also notice that (1) there's some English here
and there on the Russian site, and (2) there are bits that are present on the English
(/Dutch/etc.) site, but not on the Russian one.

But for sure fixing the "bad language" has priority.

Patrick

PS: and I notice another "todo": make sure proper names show up in the forum
for Facebook users, not the "fb_15592" ...


Profile

Posted on: Sat Oct 19, 2013 3:14 pm




Posts: 3
Joined: Thu Sep 05, 2013 5:06 pm
Post Re: skip loading of Facebook / Google plus / Twitter code
http://www.calcudoku.org/ops/history/en proper names for fb users here too.


Profile
User avatar

Posted on: Sat Oct 19, 2013 3:31 pm




Posts: 3296
Joined: Thu May 12, 2011 11:58 pm
Post Re: skip loading of Facebook / Google plus / Twitter code
fb_15592 wrote:
http://www.calcudoku.org/ops/history/en proper names for fb users here too.

Ok, that has been fixed.

(the forum one is trickier)


Profile
Display posts from previous:  Sort by  
Reply to topic   [ 23 posts ]  Go to page Previous  1, 2, 3  Next

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
All forum contents © Patrick Min, and by the post authors.

Forum software phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.