We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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.



1.3k

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



16.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.



1.3k
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.



16.3k

glad to know that it solved your problem :-)