# Re: Missing Site Banner From Child Pages

**URL:** <https://www.ruby-forum.com/t/re-missing-site-banner-from-child-pages/92117>\
**Category:** Radiant CMS\
**Created:** [April 16, 2007, 10:55am UTC](https://www.ruby-forum.com/t/re-missing-site-banner-from-child-pages/92117 "2007-04-16T10:55:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![glenatron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/94ad74/32.png) [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Post date:** [April 16, 2007, 10:55am UTC](https://www.ruby-forum.com/t/re-missing-site-banner-from-child-pages/92117/1 "2007-04-16T10:55:02Z")

</div>

header:

 ![]()

Business Name Business Name

Business Tag Line

* * *

On the front page, which is the Styled Blog page, I have

Business Main Banner  
Business Name  
Business Tag Line

On every other page (child), I have

Business Name  
Business Tag Line

… the banner displays on the home page using:

Should I make it the full domain URL/images/site/test02-banner.png?

Regards, Ben.

P.S. Groggy Squirrel is cool!

---

<div class="post-metadata">

**Author:** ![glenatron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/94ad74/32.png) [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Post date:** [April 16, 2007, 11:06am UTC](https://www.ruby-forum.com/t/re-missing-site-banner-from-child-pages/92117/2 "2007-04-16T11:06:03Z")

</div>

While I was waiting, I entered the full path URL for the server/images,  
images loads on all pages.

Thanks Daniel, cheers.

---

<div class="post-metadata">

**Author:** ![glenatron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/94ad74/32.png) [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Post date:** [April 16, 2007, 1:30pm UTC](https://www.ruby-forum.com/t/re-missing-site-banner-from-child-pages/92117/3 "2007-04-16T13:30:25Z")

</div>

Hello to everybody,  
I am developing some new site with radiant,  
but partciularly with one oh these I have strange performance problems.  
Sometimes a page takes very long time to show, more than 50 seconds,  
sometimes the same page came up in less then one second.  
It is not a cache problem, because sometimes a non cached page come up  
quicly, instead a cached page take too long time to show.  
This is a piece of my logs

rocessing SiteController#show\_page (for 194.242.213.100 at 2007-04-16  
13:20:49) [GET]  
Parameters: {“url”=\>“/”, “action”=\>“show\_page”, “controller”=\>“site”}  
Completed in 142.14869 (0 reqs/sec) | DB: 5.45009 (3%) | 200 OK  
[[http://ml2007.ifl.it/](http://ml2007.ifl.it/)]

Processing SiteController#show\_page (for 194.242.213.100 at 2007-04-16  
13:23:12) [GET]  
Parameters: {“url”=\>“/”, “action”=\>“show\_page”, “controller”=\>“site”}  
Completed in 0.04230 (23 reqs/sec) | DB: 0.00347 (8%) | 200 OK  
[[http://ml2007.ifl.it/](http://ml2007.ifl.it/)]

Processing SiteController#show\_page (for 194.242.213.100 at 2007-04-16  
13:23:13) [GET]  
Parameters: {“url”=\>“/”, “action”=\>“show\_page”, “controller”=\>“site”}  
Completed in 0.05722 (17 reqs/sec) | DB: 0.00195 (3%) | 200 OK  
[[http://ml2007.ifl.it/](http://ml2007.ifl.it/)]

Processing SiteController#show\_page (for 194.242.213.100 at 2007-04-16  
13:23:13) [GET]  
Parameters: {“url”=\>“/”, “action”=\>“show\_page”, “controller”=\>“site”}  
Completed in 0.53617 (1 reqs/sec) | DB: 0.00189 (0%) | 200 OK  
[[http://ml2007.ifl.it/](http://ml2007.ifl.it/)]

Processing SiteController#show\_page (for 194.242.213.100 at 2007-04-16  
13:23:13) [GET]  
Parameters: {“action”=\>“show\_page”, “url”=\>[“struttura.css”],  
“controller”=\>“site”}  
Completed in 1.73224 (0 reqs/sec) | DB: 0.57911 (33%) | 200 OK  
[[ifl.it](http://ml2007.ifl.it/struttura.css)]

Processing SiteController#show\_page (for 194.242.213.100 at 2007-04-16  
13:23:16) [GET]  
Parameters: {“action”=\>“show\_page”, “url”=\>[“home.css”],  
“controller”=\>“site”}  
Completed in 2.27655 (0 reqs/sec) | DB: 0.05641 (2%) | 200 OK  
[[ifl.it](http://ml2007.ifl.it/home.css)]

I am using mongrel as web server. Is there some kind of trick to get  
them working together?  
Thanks in advance

–

Francesco L.  
Ymir s.r.l.  
Viale Verona 190/11  
38100 Trento

---

<div class="post-metadata">

**Author:** ![glenatron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/94ad74/32.png) [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Post date:** [April 16, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/re-missing-site-banner-from-child-pages/92117/4 "2007-04-16T16:11:52Z")

</div>

removed\_email\_address@domain.invalid ha scritto:

> > 13:20:49) [GET]  
> > Parameters: {“url”=\>“/”, “action”=\>“show\_page”, “controller”=\>“site”}  
> > Completed in 142.14869 (0 reqs/sec) | DB: 5.45009 (3%) | 200 OK  
> > [[http://ml2007.ifl.it/](http://ml2007.ifl.it/)]
> 
> Where is your site being hosted?
> 
> Does this happen only when first starting the site, only after a long  
> delay between visits, or at any time?

The site is hosted on a webserver that I can manage.  
The problem happens quite often, sometimes at the start of the server,  
but often afeter a delay between visits, but sometimes even there is  
not a long delay betweeb visits.  
I am actually triyng to define better the problem.  
Thanks

–  
Francesco L.  
Ymir s.r.l.  
Viale Verona 190/11  
38100 Trento

---

<div class="post-metadata">

**Author:** ![glenatron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/94ad74/32.png) [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Post date:** [April 16, 2007, 4:14pm UTC](https://www.ruby-forum.com/t/re-missing-site-banner-from-child-pages/92117/5 "2007-04-16T16:14:52Z")

</div>

It’s not unusual for Ruby to be slow in some instances. Are you running  
in development mode? The timing of the slow load would have to do with  
the 5-minute page cache, but it would be extra slow if you are running  
in development mode.

Sean

---

<div class="post-metadata">

**Author:** ![glenatron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/94ad74/32.png) [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Post date:** [April 16, 2007, 3:46pm UTC](https://www.ruby-forum.com/t/re-missing-site-banner-from-child-pages/92117/6 "2007-04-16T15:46:49Z")

</div>

On Mon, 16 Apr 2007, Francesco L. wrote:

> 13:20:49) [GET]  
> Parameters: {“url”=\>“/”, “action”=\>“show\_page”, “controller”=\>“site”}  
> Completed in 142.14869 (0 reqs/sec) | DB: 5.45009 (3%) | 200 OK  
> [[http://ml2007.ifl.it/](http://ml2007.ifl.it/)]

Where is your site being hosted?

Does this happen only when first starting the site, only after a long  
delay between visits, or at any time?

---

<div class="post-metadata">

**Author:** ![glenatron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/94ad74/32.png) [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Post date:** [April 16, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/re-missing-site-banner-from-child-pages/92117/7 "2007-04-16T16:55:57Z")

</div>

Francesco L. wrote:

> Completed in 0.04230 (23 reqs/sec) | DB: 0.00347 (8%) | 200 OK  
> [[http://ml2007.ifl.it/](http://ml2007.ifl.it/)]

Looking at the ratio between the DB processing time and the overall  
request time I would almost say it is an issue with the system (low RAM,  
other high load processes) or generally with Ruby and not so much with  
Radiant or Rails. Otherwise, I would expect DB processing to be faster  
compared to the slow request.

Cheers,  
Oliver
