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

  • Home
  • SEARCH
  • 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 6845731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:32:12+00:00 2026-05-27T00:32:12+00:00

We have an old (written in CakePHP 1.1!) application that has started groaning under

  • 0

We have an old (written in CakePHP 1.1!) application that has started groaning under the weight of its responsibilities, so we’re giving it an overhaul with the help of some consultants.

One of the “quick wins” that they have identified: some pages are experiencing not-insignificant slowdown due to multiple calls to $html->url. As for whatever reason we’re not currently using routing, and even in the future the necessity for reverse routing isn’t likely to come into play, use of $html->url could just be creating overhead for the sake of it here. Some questions that arise in my mind in any case:

(1) Is it better to do things “the Cake way” where possible even if this is slower? Are there other advantages to using the HTML helper for links that might not have been considered.

(2) We are planning to upgrade to a much more up-to-date version of Cake, possibly all the way to 2.0, at some point. Is it possible that the current slowness of using the HTML helper is more to do with being in Cake 1.1 than an inherently bad design decision?

Just interested in people’s opinions generally on this subject: is it definitely right for us to strip out laborious uses of the HTML helper or not?

  • 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-27T00:32:13+00:00Added an answer on May 27, 2026 at 12:32 am

    An upgrade to CakePHP 2.0 will definitely yield a speed improvement. Beware however, the upgrade path from 1.1 to 2.0 is not smooth. Expect to do a lot of manual editing.

    As to the multiple calls to $html->ur(), you might find this useful:

    http://debuggable.com/posts/how-to-save-half-a-second-on-every-request-of-your-cakephp-app:49a69610-8648-4d65-815d-754c4834cda3

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

Sidebar

Related Questions

I have recently written an application(vb.net) that stores and allows searching for old council
I have an old application that uses frames (not iframes) was was written back
We have an old application written using VC++ that uses ODBC driver to read
I have some old apps written in PHP that I'm thinking of converting to
I have some old code written in C for 16-bit using Borland C++ that
I have in here an old web application written in ASP.Net 2.0 + AJAX.
I have an old personal project written in Java 1.4 that I am porting
I have an old product that I need to update, written in C# and
I have an old databasefile from an application written in Delphi. My task is
I have a very old application written in delphi 5 running in some customers

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.