Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt 353 posts 825 karma points
    Feb 27, 2020 @ 13:52
    Matt
    0

    uSync folder size

    Hi,

    I just have a question in regards to the size of the Content folder in uSync, so every page which gets created ends up in the "content" folder. Is it possible to break the content folder up into individual folders inside?

    Our website will have 1000's of pages, will uSync have any issues with the size of the "content" folder?

    We plan to add over 1500 FOI requests to our website, it would be nice if we could have a folder inside the "Content" folder called "FOI" so its all kept tidy.

    Thanks

    Matt

  • Kevin Jump 2312 posts 14698 karma points MVP 7x c-trib
    Feb 27, 2020 @ 13:58
    Kevin Jump
    100

    Hi Matt,

    there should be no issue with this folder getting large (the practical limits of the file system are about 4 billion) but you can choose to have uSync store content in folders by settings the FlatFolders settting in the config to false. (see https://docs.jumoo.co.uk/uSync/v8/uSync/config/)

    if you don't want to do it globally (for all usync folders) you can also do it per handler, by adding UseFlatStructure="false" as an attribute of the handler.

    e.g.

    <Handler Alias="contentHandler" Enabled="true" UseFlatStructure="false"/>
    

    if you do change this, i would recommend you delete the uSync/v8 folder and do a full export to ensure you don't end up with duplicates

  • Matt 353 posts 825 karma points
    Feb 27, 2020 @ 14:07
    Matt
    0

    Ah that's perfect, thanks Kevin :)

Please Sign in or register to post replies

Write your reply to:

Draft