preview and transfer enhancements: terminalfour t44u 2013

18
The Aviva Stadium Dublin, 21-22 November 2013

Upload: terminalfour

Post on 20-Aug-2015

845 views

Category:

Technology


2 download

TRANSCRIPT

The Aviva Stadium Dublin, 21-22 November 2013

As promised last at t44u 2012…

Preview & Publish Improvements

• Incremental

• Improved caching

• More efficient coding practices

t44u 2013 2

Preview & Publish Improvements

• Not all automatic

t44u 2013 3

Preview & Publish Improvements

• Who knows about the Cache Handler?

• May be available at SiteManager?ctfn=cache

t44u 2013 4

Preview & Publish Improvements

• The Cache Handler enables elements within Content Types to be “pre-cached”

t44u 2013 5

Preview & Publish Improvements

• A Top Content navigation object shows the 5 latest news articles ordered by a date element within the Content

• Keyword Search Content navigation object finds related news articles, based on a keywords element within the Content

t44u 2013 6

Preview & Publish Improvements

• How does it do this?

t44u 2013 7

Preview & Publish Improvements

• It loads each piece of Content from the database to check the Date or Keywords

t44u 2013 8

Preview & Publish Improvements

• What if you’ve an archive of 1,000 news articles?

t44u 2013 9

Preview & Publish Improvements

• You wait…

t44u 2013 10

Preview & Publish Improvements

• …unless the Date or Keywords are “pre-cached”

t44u 2013 11

Preview & Publish Improvements

• This was only the case with certain Navigation Objects (Keyword Search Content, Top Content)

• Since version 7.4 of TERMINALFOUR Site Manager, this is now extended to all areas of the publish engine

t44u 2013 12

Preview & Publish Improvements

• Content is ONLY loaded from the database IF the requested elements aren’t pre-cached

t44u 2013 13

Previous Transfer Mechanism

• Transfer was a two-step process

• Generate / check file hashes

• Upload modified files

t44u 2013 14

Previous Transfer Mechanism

• Shortcomings

• It was a two-step process

• Subsequent publish could alter files that were flagged for upload, but not yet uploaded

t44u 2013 15

Transfer Improvements

• Single Step Process

• Transfer “Listens” during publish for any changed (added, modified, deleted) files

• It copies these changed files into a separate area

• This is what we call a changeset

• Changesets remove Publish/Transfer synchronization issues

t44u 2013 16

Transfer (Dis)Improvements

• Changesets

• Only deleted when transfer completed (including deletion of “old” files)

• This can result in excessive disk space being used

t44u 2013 17

Transfer Improvements

• Changesets

• Disk space usage will be improved in 7.4.0004

• Wayne “is on the case”

t44u 2013 18