Do I need these js files in my template?

Author Message

cousin mosquito

Thursday 25 August 2011 5:44:13 pm

I am trying to limit the number of http requests on each of my pages.

My pages are based on the Ezwebin templates of the initial Ezpublish installation.

Can anyone tell me what these files do and whether I need them in my templates, or at least point me to some documentation which describes what these files do ?

yui/build/calendar/assets/calendar.css
src="/design/standard/javascript/tools/ezjsselection.js
JavaScriptList[]=insertmedia.js
JavaScriptList[]=yui/build/yahoo-dom-event/yahoo-dom-event.js
JavaScriptList[]=yui/build/calendar/calendar-min.js
JavaScriptList[]=ezdatepicker.js

The requirements for my pages are as follows:
1. Load my page in normal circumstances.
2. Load my page in "front-end" editing mode for my users so that they can update content.

I know where the files can be found, I just need to know whether I need them. I am not (knowingly using any calender function).

Thanks in advance.

Asking the dumb questions for your benefit

Sandra Parente

Thursday 25 August 2011 11:23:56 pm

These .js are used by the toolbar, if you don't need to use I think it you can avoid loading them.

Sandra Parente
www.netbliss.it

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 17 2025 22:54:17
Script start
Timing: Jan 17 2025 22:54:17
Module start 'layout'
Timing: Jan 17 2025 22:54:17
Module start 'content'
Timing: Jan 17 2025 22:54:17
Module end 'content'
Timing: Jan 17 2025 22:54:17
Script end

Main resources:

Total runtime0.6340 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.4609152.6406
Module start 'layout' 0.00670.0027 742.101639.4844
Module start 'content' 0.00930.6234 781.5859528.7813
Module end 'content' 0.63280.0012 1,310.36728.2813
Script end 0.6339  1,318.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5860160.0002
Check MTime0.00130.2124160.0001
Mysql Total
Database connection0.00120.183410.0012
Mysqli_queries0.582991.9344540.0108
Looping result0.00050.0714520.0000
Template Total0.608095.920.3040
Template load0.00230.368820.0012
Template processing0.605695.530220.3028
Template load and register function0.00010.019310.0001
states
state_id_array0.00030.045910.0003
state_identifier_array0.00070.109420.0003
Override
Cache load0.00190.2948270.0001
Sytem overhead
Fetch class attribute can translate value0.00090.139020.0004
Fetch class attribute name0.00120.186840.0003
XML
Image XML parsing0.00280.448820.0014
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00260.4141220.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs