We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22303 MODX Staff
    • 10,725 Posts
    Quote from: xwisdom at Jun 22, 2005, 01:27 PM

    I’ve just removed all the base64 functions from snippets, plugins and chunks cache and I was able to reduce the cache file by about 37KB.

    I guess we could further reduce the size of the cache file by another 30-40% by applying some php compression/obfuscation to remove comments and whitespaces. Does anyone know of such functions or libraries?

    Raymond, did I tell you that you rock lately? Great stuff.

    And I was also looking for something to remove whitespaces from my php recently, but so far haven’t found the right tool. I’ll let you know if I find something useful.
      • 32963
      • 1,732 Posts
      Quote from: OpenGeek at Jun 22, 2005, 01:46 PM

      Raymond, did I tell you that you rock lately?? Great stuff.

      And I was also looking for something to remove whitespaces from my php recently, but so far haven’t found the right tool.? I’ll let you know if I find something useful.

      Many thanks Jason smiley I ’m hoping to have these changes uploaded to SVN very soon so that everyone can get a chance tryout the new caching features which I think should be more scalable on large modx websites.

      Concerning the RT editors. Have you guys really looked at the features of FCK lately? It really rocks! The new resource browser, image inserter and link browser is bt far the most flexible I have seen todate. It really runs circles around tinymce’s image and link browser.

      I would like to standardize on the format used by FCK’s file browser. In so doing we could change the system settings from Image manager to Media Browser to include the following settings:

      Media Browser base path
      Media Browser base url

      In this folder the use can upload flash, sounds, images and documents without having to manually create folders for docs, flash, images, etc.

      What do you think?


        xWisdom
        www.xwisdomhtml.com
        The fear of the Lord is the beginning of wisdom:
        MODx Co-Founder - Create and do more with less.
        • 22303 MODX Staff
        • 10,725 Posts
        Quote from: xwisdom at Jun 22, 2005, 05:27 PM

        Many thanks Jason smiley I ’m hoping to have these changes uploaded to SVN very soon so that everyone can get a chance tryout the new caching features which I think should be more scalable on large modx websites.

        Concerning the RT editors. Have you guys really looked at the features of FCK lately? It really rocks! The new resource browser, image inserter and link browser is bt far the most flexible I have seen todate. It really runs circles around tinymce’s image and link browser.

        I would like to standardize on the format used by FCK’s file browser. In so doing we could change the system settings from Image manager to Media Browser to include the following settings:

        Media Browser base path
        Media Browser base url

        In this folder the use can upload flash, sounds, images and documents without having to manually create folders for docs, flash, images, etc.

        What do you think?

        That sounds like a good idea; they could then make subdirectories from there for isolating different types or organizing it in any way that makes sense to the project.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          I love the ability to edit the editor’s menu like that! I had to search the files to find the one to edit when I updated my client to FCK!
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            As far as compressing code, I ran across this; it’s for javascript, but it should be adaptable for php files as well.

            http://pupius.co.uk/download/php_scripts/preview/script-compress.phps/

            And this:

            http://pobs.mywalhalla.net/
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 32963
              • 1,732 Posts
              Quote from: sottwell at Jun 22, 2005, 08:00 PM

              As far as compressing code, I ran across this; it’s for javascript, but it should be adaptable for php files as well.

              http://pupius.co.uk/download/php_scripts/preview/script-compress.phps/

              And this:

              http://pobs.mywalhalla.net/

              sounds great susan. I’ll check it out.
                xWisdom
                www.xwisdomhtml.com
                The fear of the Lord is the beginning of wisdom:
                MODx Co-Founder - Create and do more with less.
                • 32963
                • 1,732 Posts

                Well so far so good. I’ve integrated FCK’s Resource browser (filemanger) into the CMS. It’s looking very nice and even has support for image editing (work in progress).

                With that said I think we can remove HTMLArea’s ImageManager since FCK’s FileManager is much easier to use and keeps getting better.

                I’ve add the Resource Browser to the media/browser/ folder. Athough it’s stand-alone is it’s intgrated to work with the Link Browser, image browser, user photo and TV image input.

                Another good news is that the core (/manager) is now down to 2.10 MB unzipped.


                  xWisdom
                  www.xwisdomhtml.com
                  The fear of the Lord is the beginning of wisdom:
                  MODx Co-Founder - Create and do more with less.
                  • 6661
                  • 119 Posts
                  Quote from: xwisdom at Jun 23, 2005, 02:45 AM

                  Well so far so good. I’ve integrated FCK’s Resource browser (filemanger) into the CMS. It’s looking very nice and even has support for image editing (work in progress).
                  Sounds great, it seems like FCK might even be good enough to be integrated in the default install smiley
                  Can’t wait to try this out, available in SVN soon?
                    • 32963
                    • 1,732 Posts
                    Quote from: davedenis at Jun 23, 2005, 12:30 PM

                    Sounds great, it seems like FCK might even be good enough to be integrated in the default install smiley
                    Can’t wait to try this out, available in SVN soon?


                    The FCKEditor will be the default RichText editor plugin that will be shipped with MODx. TinyMCE will be available as a separate download from our website.

                    My changes are not yet inside SVN sad but you can have a look athow it works here:
                    http://vertexworks.com/forums/index.php?topic=443.msg2417#msg2417
                      xWisdom
                      www.xwisdomhtml.com
                      The fear of the Lord is the beginning of wisdom:
                      MODx Co-Founder - Create and do more with less.