Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

please don't use google font,google css and jQuery files

hi, webmasters,

I come from China, Our goverment have GFW(great firewall)。We can't visit google,facebook and twitter。

Phalcon website font and jQuery files use ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js. so we visit phalcon website is very very slow.

Thank you very much!

It's a Nausea problems.

joy chao, i think so. chinese goverment is so Nausea



9.3k
Accepted
answer

Hi, @kaiwenli.

you can do a trick with your hosts file.

nix : /etc/hosts win : %WINDIR%\system32\drivers\etc\hosts

just add

127.0.0.1 ajax.googleapis.com

then download the jquery and store it to your webroot folder and ofcourse recursively. eg, if your web root folder is C:\Apache2\htdocs then save it on C:\Apache2\htdocs\ajax/libs/jquery/1.8.1/jquery.min.js

then, what about ssl? hmm, maybe you can enable apache mod_ssl .

note: not tested.

hmm, I does it.

edited Jun '14

Hi @Sum

Thank you very much!

yesterday,i edit my hosts. thank you very much!

I think PHP have a lot of users in China .

phalcon and Yaf is fastest c extension framework.

if new users study phalcon ,they can't edit hosts.



9.3k

glad to know that it solved your problem :-)