Improve the performance in Front-end

Author Message

Tony De Freitas

Tuesday 05 October 2010 7:27:56 pm

Hi folks, I'm new to the community.
I think "Ez publish" is great.
I would like to see "Ez Publish" in something like this:

http://googlecode.blogspot.com/2010/09/drupal-7-faster-than-ever.html
http://civicactions.com/blog/2010/aug/31/drupal-7-faster-than-ever
http://code.google.com/speed/index.html
Greetings

Marko Žmak

Wednesday 06 October 2010 3:13:27 am

Hi Tony.

Yes there are tools for such optimizations:

Also, eZ publih gives you complete control over HTML source of your page so you can easily integrate other techniques as well.

Furthermore, eZ can be used with varnish and other reverse proxies.

Does this answer your questions?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

André R.

Wednesday 06 October 2010 5:24:03 am

For improved front end performance you should among several things take advantage of mod_expires in apache. Not something you would want to enable during development, but in production it can make sure clients cache design files that barley change and images that have url pr version anyway using something like this.

Same thing can be done with packed js / css files using (from admin2pp project by Damien):

<LocationMatch ".*/var/[^/]+/cache/public/.*">
# ezjscore.ini/[Packer]/AppendLastModifiedTime=enabled
# so that file names change when source files are modified
     ExpiresActive on
     ExpiresDefault "now plus 10 years"
</LocationMatch>

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Nicolas Pastorino

Wednesday 06 October 2010 5:30:13 am

Hi Tony and welcome aboard !

I'd suggest you have a look at these fantastic slides by Damien Pobel :

http://pwet.fr/blog/frontend_performance_with_ez_publish_slides_are_online

Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Tony De Freitas

Wednesday 06 October 2010 9:27:18 am

thanks people

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:50:23
Script start
Timing: Jan 18 2025 02:50:23
Module start 'layout'
Timing: Jan 18 2025 02:50:23
Module start 'content'
Timing: Jan 18 2025 02:50:24
Module end 'content'
Timing: Jan 18 2025 02:50:24
Script end

Main resources:

Total runtime0.7940 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.9141152.6250
Module start 'layout' 0.00510.0025 740.539139.4688
Module start 'content' 0.00760.7849 780.0078657.4844
Module end 'content' 0.79250.0014 1,437.492216.1563
Script end 0.7939  1,453.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4191160.0002
Check MTime0.00150.1894160.0001
Mysql Total
Database connection0.00070.082010.0007
Mysqli_queries0.734792.5334700.0105
Looping result0.00070.0839680.0000
Template Total0.764196.220.3821
Template load0.00210.265420.0011
Template processing0.762095.972920.3810
Template load and register function0.00020.019310.0002
states
state_id_array0.00080.096810.0008
state_identifier_array0.00100.120320.0005
Override
Cache load0.00180.2292370.0000
Sytem overhead
Fetch class attribute can translate value0.00090.111640.0002
Fetch class attribute name0.00170.211380.0002
XML
Image XML parsing0.00170.208840.0004
class_abstraction
Instantiating content class attribute0.00000.002380.0000
General
dbfile0.00190.2449310.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
2content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 10

Time used to render debug report: 0.0001 secs