Forums / General / Improve the performance in Front-end

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

eZ debug

Timing: Jan 18 2025 00:00:00
Script start
Timing: Jan 18 2025 00:00:00
Module start 'content'
Timing: Jan 18 2025 00:00:00
Module end 'content'
Timing: Jan 18 2025 00:00:00
Script end

Main resources:

Total runtime0.1654 sec
Peak memory usage4,096.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 591.6250180.8438
Module start 'content' 0.00620.0050 772.468898.5859
Module end 'content' 0.01120.1541 871.0547526.5313
Script end 0.1653  1,397.5859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00342.0390200.0002
Check MTime0.00130.8124200.0001
Mysql Total
Database connection0.00080.471210.0008
Mysqli_queries0.116370.30541410.0008
Looping result0.00150.91421390.0000
Template Total0.153893.010.1538
Template load0.00090.553910.0009
Template processing0.152892.426010.1528
Override
Cache load0.00060.387010.0006
Sytem overhead
Fetch class attribute can translate value0.00110.665810.0011
XML
Image XML parsing0.00030.163310.0003
General
dbfile0.00372.2355200.0002
String conversion0.00000.003930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs