How to speed up publishing a single page

jperreault's Avatar


16 Apr, 2011 12:29 AM

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.

Here's my question. When I publish one page I get this result, all the css and javascript get published as well:

[Destination: production-server1] _files/css/template_shellwide.css 
[Destination: production-server2] _files/css/template_shellwide.css 
[Destination: production-server1] _files/css/jquery.ui.selectmenu.css 
[Destination: production-server2] _files/css/jquery.ui.selectmenu.css 
[Destination: production-server2] _files/css/template_HB.css 
[Destination: production-server1] _files/css/template_HB.css 
[Destination: production-server2] continuing-studies/programs-and-courses/courses/ACLC/1000 
[Destination: production-server1] continuing-studies/programs-and-courses/courses/ACLC/1000 
[Destination: production-server1] _files/css/template_C2_continuing_studies_course.css 
[Destination: production-server2] _files/css/template_C2_continuing_studies_course.css 
[Destination: production-server1] _files/javascript/jquery.ui.selectmenu.js 
[Destination: production-server2] _files/javascript/jquery.ui.selectmenu.js 
[Destination: production-server1] _files/javascript/jquery.bpopup-0.4.1.min.js 
[Destination: production-server2] _files/javascript/jquery.bpopup-0.4.1.min.js 
[Destination: production-server1] _files/javascript/common.js 
[Destination: production-server2] _files/javascript/common.js 
[Destination: production-server1] continuing-studies/images/logo.jpg 
[Destination: production-server2] continuing-studies/images/logo.jpg 
[Destination: production-server1] _files/javascript/mydomain-captcha.js 
[Destination: production-server2] _files/javascript/mydomain-captcha.js 
[Destination: production-server2] continuing-studies/images/background.jpg 
[Destination: production-server1] continuing-studies/images/background.jpg

But I don't need to re-publish the js and css everytime. How can I just publish the HTML?

I notice if I publish the whole folder, each js and css file is only uploaded twice ( once for each server ).

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:

[Destination: production-server1] continuing-studies/programs-and-courses/courses/ADMN/index 
[Destination: production-server1] continuing-studies/programs-and-courses/courses/ADMN/program-comparison 
[Destination: production-server2] continuing-studies/programs-and-courses/courses/ADMN/index 
[Destination: production-server1] programs-and-courses/programs/applied-planning/images/buildings.jpg 
[Destination: production-server2] programs-and-courses/programs/human-kinetics/images/stretching.jpg 
[Destination: production-server2] programs-and-courses/programs/applied-planning/images/buildings.jpg 
[Destination: production-server1] programs-and-courses/programs/criminal-justice/images/force.jpg 
[Destination: production-server2] programs-and-courses/programs/criminal-justice/images/force.jpg

How can I check what the associations are between these files?

I turn off link checking, can that speed it up?

Any other tricks you can suggest for me?


  1. 1 Posted by Cagdas Cubukcu on 25 May, 2011 09:37 PM

    Cagdas Cubukcu's Avatar

    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.

    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.

  2. Tim closed this discussion on 25 Jan, 2012 09:11 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac