开发者

CakePHP not load views

My layout is divided into 3 parts, Header, Content, Footer.

Sometimes when I load a page the cake j开发者_如何学Pythonust returns the Content, or does not load CSS, JavaScript, and the like.

Has anyone had any similar problem?


I took a look on the links in your last comment. They both are password protected, although for me the problem is not in cake, rather than in the assets. Actually I just seen this problem in the first load of the page and then the browser cached the resources and couldn't see this any more.

What I mean is that:

https://asset0.basecamphq.com/sprockets.js?1291422605 took 1.53 sec to load https://asset1.basecamphq.com/stylesheets/print/application.css?1291422668 845 sec to load

I suppose that sometimes they just doesn't load at all.

I see that these files are on separate domain from the app. If you move these files on the same domain this would improve the performance.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜