On 1/24/07, Klaus <[EMAIL PROTECTED]> wrote:
> I've moved an average sized website (22.000+ pages) into CakePHP
> (Version 3825, 2006-11-03) and I've found some results and issues I'd
> like to share.

Thanks for sharing - Case studies like these always interest me (and
probably many others)

> First of all, the routing mechanism -and please correct me if I'm
> wrong- is not correctly working with view caching. I make heavy use of
> routes in the shake of user friendlyness and search engine
> optimization, so the 'controller/view/parameter' paradigm doesn't fit
> my URIs in most cases, and the cache mechanism works incorrecly under
> this circumstance:
>
> Views with $_POST data were actually being cached, which included
> sometimes failed user logins being cached and thus passwords stored in
> the static generated view.

Do you mean <cake:nocache> is not working for login forms?

> Also, views weren't deleted after an INSERT,
> UPDATE, or DELETE operations, because they tried to delete a cache file
> stored under the 'controller_view_parameter.php' format, which is not
> always true when routing is used.

I guess this is a bug deserves a ticket in the Trac - if possible
provide a patch to fix the problem.

> in subdirectories ordered by their first character. Something like
> /views/a/, /views/b/, and so on.

Yes what you have heard is true and what you are proposing is somewhat
similar to what SMARTY does but with SMARTY it replicates the real
application directory structure.

> Anyway, and in spite of this little issues, the view cache has
> *dramatically* reduced my server's load and the number of queries per
> hour.

If you could share some benchmarks it would be very much appreciated.

Cheers
Tarique

-- 
=============================================================
PHP for E-Biz: http://sanisoft.com
Cheesecake-Photoblog: http://cheesecake-photoblog.org
=============================================================

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to