Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 956861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:36:24+00:00 2026-05-16T00:36:24+00:00

I have a website built on ZF. I don’t know why but is lagging

  • 0

I have a website built on ZF. I don’t know why but is lagging as hell. Loading simple page tooks 4s. Time is going down when I disable layout. When rendering is enabled it’s working normally. So I can use action views but I can’t use layouts. Can it be someting bad with layout? Or I’m not setting up layout properly?

Site: http://zgarnijlicke.pl

Edit:

I’m adding layout code below:

<<?php ?>?xml version="1.0" encoding="UTF-8"?<?php ?>>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
<html xmlns="http://www.w3.org/1999/xhtml&quot; xml:lang="en" lang="en"> 
<head> 
<link rel="stylesheet" type="text/css" media="screen"
      href="<?php echo $this->baseUrl;?>/public/styles/style.css" /> 
<link rel="stylesheet" type="text/css" media="screen"
      href="<?php echo $this->baseUrl;?>/public/styles/menu.css" /> 
<link rel="shortcut icon"href="<?php echo $this->baseUrl;?>/public/images/favicon.ico">

<script src="<?php echo $this->baseUrl;?>/public/scripts/jquery.js"></script> <script src="<?php echo $this->baseUrl;?>/public/scripts/jquery.corner.js"></script> <script src="<?php echo $this->baseUrl;?>/public/scripts/jquery.media.js"></script> <title><?php echo $this->title . ' - '; echo ($this->cattitle != '') ? $this->cattitle . ' - ' : '';?>Zgarnijlicke.pl</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <div id="naglowek"> <div id="logo"><img src="<?php echo $this->baseUrl;?>/public/images/logo.png" width="338px" height="63px" /></div> <div id="szukajka"> <div id="szukaj">Szukaj</div> <div id="poleszukaj"><input name="search" maxlength="20" size="20" value="wpisz cos..." onblur="if(this.value=='') this.value='wpisz cos...';" onfocus="if(this.value=='wpisz cos...') this.value='';" type="text"> </div> </div> </div>
<?php echo $this->partial('top_menu1.phtml', array()); ?>

<div class="clear">&nbsp;</div> <div id="banner"><img src="<?php echo $this->baseUrl;?>/public/images/banner.png" width="994px" height="212px" /> </div>

<?php echo $this->placeholder('top_menu2'); ?>

<div class="clear">&nbsp;</div> <div id="wrapper"> <div id="container"> <div id="side-a"> <div class="widget"><?php echo $this->partial('menu_left_1.phtml', array()); ?></div> <div class="clear">&nbsp;</div> <div class="widget">Lewa strona</div> </div> <div id="content"> <div class="content_elem"><?php echo $this->layout()->content; ?></div> </div> <div id="side-b"> <div class="widget">Prawa strona</div> </div> </div> <div class="clear">&nbsp;</div> <div id="footer"> <img src="<?php echo $this->baseUrl;?>/public/images/stopka.png" width="992px" height="34px" /> </div> </div>

<script type="text/javascript"> $("#menu_top1").corner(); //$(".widget").corner(); //$("#top_menu2").corner(); //$(".content_elem").corner(); $('a.media').media(); </script> </body> </html>

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T00:36:25+00:00Added an answer on May 16, 2026 at 12:36 am

    This is impossible to say without any code to review. Do you happen to use the action stack a lot? If so, this is likely the culprit as it goes through the entire dispatch for each call.

    Your best bet: use a XDebug or Zend Debugger to find the bottleneck in your application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have built a horizontal scrolling website. I don't really know much about Java
I don't spend a whole lot of time in MySQL, but I have been
I have to develop a pretty simple php website so I don't need framework.
I have built a simple tour on my website that will be coded using
I have a website built in PHP 4 with a framework made by hand
I have a website built using Asp.net and LinqToSql for Data Access. In a
I have a website built with ASP.NET (3.5) and want add some level of
I have a website built mostly in flash. The flash movie is on an
we have a modularized website built on the MVC pattern. We would like to
I have a website I've built in VS2005, C#, .NET 2.0. This website does

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.