First time here? Check out the FAQ!
1

Possibility to not have dependency on googleapis.com (China problem)
 

As you may know in China some websites are not accessible, and the domain googleapis is one of them (note that it vary a lot from times and province so something which is not accessible today in Shanghai is maybe accessible in Beijing, and maybe tomorrow it will be the opposite)

The bad things is that sometimes the connection is not blocked directly but will instead never get a reply, making askbot to load for ages, waiting for googleapis.com and fonts.google.com to timeout and only then askbot's html will be visible

By using some "noscript" plugin on firefox to block this two domains, the website load fine

So I think it would be great if

  1. one can choose not to use it
  2. in the case one still decide to use, maybe by doing some tricks in the way these resources are loaded, to not make it block the load process

so that I dunno if that will "block" some features, but at least we'll be able to see the content, which is already better than nothing

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
sysko's avatar
73
sysko
asked 12 years ago, updated 12 years ago

Comments

see more comments

1 Answer

1

it seems to me that a beinning of answer to my point 1 is to use

ASKBOT_USE_LOCAL_FONTS = True

but it's written nowhere, and as the template precise "USE_LOCAL_FONTS" it's misleading even if you're reading the code (and have very few knowledge of django). I think it must be included in the settings.py

moreover it does not cover everything (for example traditional.css and askbot/const/__init__.py )

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
sysko's avatar
73
sysko
answered 12 years ago, updated 12 years ago
link

Comments

see more comments