• Resolved alchemylife

    (@alchemylife)


    Hi!, i am using duplicator to make backups, etc, i think you ll know what duplicator plugin does πŸ˜›

    just when i make a package, i face the following error, just after i installedautoptimize:

    Cache Path: ‘C:/Inetpub/vhosts/alchemylife.gr/httpdocs/wp-content/cache’ (2.71MB)
    Cached data will lead to issues at install time and increases your archive size. It is recommended to empty your cache directory at build time. Use caution when removing data from the cache directory. If you have a cache plugin review the documentation for how to empty it; simply removing files might cause errors on your site. The cache size minimum threshold is currently set at 512KB.

    I am not sure if it is going to affect the package i make so that the backups are ok, but i wanted to hear your thoughts on what i should do here or what to expect.

    Something more to this:
    After tryin to optimize javascript and Css, i found out that there where issues with the theme appearance. So, i just checked to optimize css, and it works ok. how can i optimize javascript without any prob on appearance? in fact, slider images are gone after optimize javascript, nothing else.

    Thank you in advance

    https://ww.wp.xz.cn/plugins/autoptimize/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Frank Goossens

    (@futtta)

    regarding duplicator & cache size; it would be best to empty AO’s cache before duplicating.

    regarding JS; have a look at the troubleshooting part of the FAQ.

    have a nice weekend,
    frank

    Thread Starter alchemylife

    (@alchemylife)

    Hello, i hadn’r noticed that section, thanks.
    I think my prob has to do with this section:
    In case some functionality on your site stops working (a carroussel, a menu, the search input, …) you’re likely hitting JavaScript optimization trouble. Disable the option “Aggregate inline JS” and activate “Force JavaScript in ?” (and optionally “Add try/catch wrapping”) and try again. Alternatively -for the technically savvy- you can exclude specific scripts from being treated (moved and/ or aggregated) by Autoptimize by adding a string that will match the offending Javascript or excluding it from within your template files or widgets by wrapping the code between noptimize-tags. Identifying the offending JavaScript and choosing the correct exclusion-string can be trial and error, but in the majority of cases JavaScript optimization issues can be solved this way. When debugging JavaScript issues, your browsers error console is the most important tool to help you understand what is going on.
    Tha fact is that the options you suggest are already set as suggested. Should i try the option before the suggestion?

    If i rty the other method, which scripts you say? I am really a beginner πŸ˜›
    alchemylife.gr (the site if you wish to access and check) [without js optimize]

    Plugin Author Frank Goossens

    (@futtta)

    ah, a beginner :-p

    so; keep JS in head & don’t aggregate inline JS + exclude jquery.js from optimization. see if that helps. if not, report back here with the following info;

    * what exactly does not work
    * what do you see in your browser’s (error) console

    frank

    Thread Starter alchemylife

    (@alchemylife)

    I can say everything is alright now! Thank you very much!

    Something more to empty cache: I have to do it by pressing the button ‘save changes and empty cache’ ?

    Plugin Author Frank Goossens

    (@futtta)

    Something more to empty cache: I have to do it by pressing the button ‘save changes and empty cache’ ?

    correct πŸ™‚

    have a nice weekend!
    frank

    Thread Starter alchemylife

    (@alchemylife)

    And what are the concequences by doing so? thank you πŸ™‚

    Plugin Author Frank Goossens

    (@futtta)

    your cache is cleared (and AO tries to also clear your page cache’s cache, else you have to purge that yourself) and upon the next requests the cache will be rebuilt bit by bit.

    Thread Starter alchemylife

    (@alchemylife)

    So i need to do this every now and then or it is something that happens automaticaly by Ao? (irrelevant to duplicator question)

    Plugin Author Frank Goossens

    (@futtta)

    AO does not automatically purge the cache, but it will warn you when it becomes too big (threshold set at approx. 0.5GB) with a notice on the wp-admin pages.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘issue with duplicator’ is closed to new replies.