tag:help-archives.hannonhill.com,2010-02-09:/discussions/installation/123-how-to-speed-up-publishing-a-single-pageCascade CMS: Discussion 2018-10-18T20:36:14Ztag:help-archives.hannonhill.com,2010-02-09:Comment/66717772011-04-16T00:29:55Z2011-04-16T00:32:34ZHow to speed up publishing a single page<div><p>Hi, I'm experimenting with ways to try to speed up my
publishing. We have 2 load-balanced servers, so when I publish, I
publish to both servers from Cascade. I assume that the time to FTP
does not take that long. I have a real problem with some pages
taking 90+ seconds to render. We're about to install version 6.8 in
development to help identify the slow blocks.</p>
<p>Here's my question. When I publish one page I get this result,
all the css and javascript get published as well:</p>
<pre>
<code>[Destination: production-server1] mydomain.com: _files/css/template_shellwide.css
[Destination: production-server2] mydomain.com: _files/css/template_shellwide.css
[Destination: production-server1] mydomain.com: _files/css/jquery.ui.selectmenu.css
[Destination: production-server2] mydomain.com: _files/css/jquery.ui.selectmenu.css
[Destination: production-server2] mydomain.com: _files/css/template_HB.css
[Destination: production-server1] mydomain.com: _files/css/template_HB.css
[Destination: production-server2] mydomain.com: continuing-studies/programs-and-courses/courses/ACLC/1000
[Destination: production-server1] mydomain.com: continuing-studies/programs-and-courses/courses/ACLC/1000
[Destination: production-server1] mydomain.com: _files/css/template_C2_continuing_studies_course.css
[Destination: production-server2] mydomain.com: _files/css/template_C2_continuing_studies_course.css
[Destination: production-server1] mydomain.com: _files/javascript/jquery.ui.selectmenu.js
[Destination: production-server2] mydomain.com: _files/javascript/jquery.ui.selectmenu.js
[Destination: production-server1] mydomain.com: _files/javascript/jquery.bpopup-0.4.1.min.js
[Destination: production-server2] mydomain.com: _files/javascript/jquery.bpopup-0.4.1.min.js
[Destination: production-server1] mydomain.com: _files/javascript/common.js
[Destination: production-server2] mydomain.com: _files/javascript/common.js
[Destination: production-server1] mydomain.com: continuing-studies/images/logo.jpg
[Destination: production-server2] mydomain.com: continuing-studies/images/logo.jpg
[Destination: production-server1] mydomain.com: _files/javascript/mydomain-captcha.js
[Destination: production-server2] mydomain.com: _files/javascript/mydomain-captcha.js
[Destination: production-server2] mydomain.com: continuing-studies/images/background.jpg
[Destination: production-server1] mydomain.com: continuing-studies/images/background.jpg</code>
</pre>
<p>But I don't need to re-publish the js and css everytime. How can
I just publish the HTML?</p>
<p>I notice if I publish the whole folder, each js and css file is
only uploaded twice ( once for each server ).</p>
<p>Sometimes, in the publishing report I see files in totally
different folders and I don't understand how they got there. Here I
published the folder
continuing-studies/programs-and-courses/courses/ADMN/ but somehow
images from programs-and-courses/programs/applied-planning/images/
were included:</p>
<pre>
<code>[Destination: production-server1] mydomain.bc.ca: continuing-studies/programs-and-courses/courses/ADMN/index
[Destination: production-server1] mydomain.bc.ca: continuing-studies/programs-and-courses/courses/ADMN/program-comparison
[Destination: production-server2] mydomain.bc.ca: continuing-studies/programs-and-courses/courses/ADMN/index
...
[Destination: production-server1] mydomain.bc.ca: programs-and-courses/programs/applied-planning/images/buildings.jpg
[Destination: production-server2] mydomain.bc.ca: programs-and-courses/programs/human-kinetics/images/stretching.jpg
[Destination: production-server2] mydomain.bc.ca: programs-and-courses/programs/applied-planning/images/buildings.jpg
[Destination: production-server1] mydomain.bc.ca: programs-and-courses/programs/criminal-justice/images/force.jpg
[Destination: production-server2] mydomain.bc.ca: programs-and-courses/programs/criminal-justice/images/force.jpg</code>
</pre>
<p>How can I check what the associations are between these
files?</p>
<p>I turn off link checking, can that speed it up?</p>
<p>Any other tricks you can suggest for me?</p>
<p>Thanks</p></div>jperreaulttag:help-archives.hannonhill.com,2010-02-09:Comment/66717772011-05-25T21:37:44Z2011-05-25T21:37:44ZHow to speed up publishing a single page<div><p>One way we speed up publishing at CSUEB is we keep all the
CSS,js, and images that are used common on all pages and not
updated frequently in a "files" folder and turn off publishing for
this folder. This way, a single page has only around 3 publish
jobs, compared to having 300 publish jobs if we had "files" folder
being published.</p>
<p>Even though we are using "Smart Publishing" and Cascade Server
wouldn't publish the included assets in the files folder, it still
takes time CS to go through each file and check their smart
publishing info. So, just turning off publishing for the "files"
folder sped up publishing a lot.</p></div>Cagdas Cubukcu