• Resolved John Conner

    (@johnconner)


    Optimizer options “CSS combine” and “JS minify” cause errors, also an option for loading CSS and JS in HEAD is required.
    As others said, CDN is not fully functional too, and defining a replaceable wildcard like asterisk would solve issues, specially for exclusions.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter John Conner

    (@johnconner)

    P.S. I don’t want to ad for a plugin but Autoptimize is a very good experience about optimization, but CDN. I always have to rewrite URLs through htaccess, because plugins neglect or bypass many URLs and there are always issues with https (e.g. rewriting image URLs, excluding css and js, font awesome, etc.).
    I also found that optimization and CDN has a weird conflict, repeated URL after “…/min/” should be considered, or multi-site WP on sub-directory would face issues in reason of sub name repeat (e.g. …/sub/sub/…).

    Plugin Support Hai Zheng?

    (@hailite)

    Hi @johnconner, can you tell what the error is when you use JS minify?

    Also more details about loading CSS in HEAD can help us improve the plugin.

    If there is anything we can do, please don’t hesitate to tell us. You can also create a ticket by emailing [email protected]

    Thanks,
    Hai

    Plugin Support Hai Zheng?

    (@hailite)

    BTW, one coincidence is we found the CDN bug of sub directory name repeat bug 6 days ago:
    https://github.com/litespeedtech/lscache_wp/commit/52806d9e35c2da437428b5a7584546cd4512bc8f

    Thanks for the feedback. Will get it fixed today.

    Plugin Support Hai Zheng?

    (@hailite)

    Fixed in latest commit. Included in next release.

    We will keep working hard to fix any issue you meet. We just need to know it when you get one.

    Hope you can have a 5 star experience with our cache plugin.

    Best regards,
    Hai

    Thread Starter John Conner

    (@johnconner)

    Hi @hai

    JS minify will disable sliders like Nivoflex, and CSS combine will disturb responsive pages, specially contents.

    You can just check Autoptimize plugin by yourself to see what I mean about loading JS files in head.

    Thanks for being helpful, keep it up bro.

    • This reply was modified 7 years, 6 months ago by John Conner.
    Plugin Support Hai Zheng?

    (@hailite)

    Can you tell the whole name of Nivoflex or give a link? I can’t find it in WP plugin.

    To test compatibility, we need more detailed info.

    Thanks.

    Thread Starter John Conner

    (@johnconner)

    All kind of minification incompatible sliders are included in “MetaSlider” plugin.

    Plugin Support Hai Zheng?

    (@hailite)

    Thanks. We will have a look and figure out the solution.

    Thread Starter John Conner

    (@johnconner)

    New version 1.3 still has some issues with CDN link rewrites, CSS combine, and JS minification and combine.

    WP 4.8.1, Theme: Nirvana 1.4.2

    Plugin Support Hai Zheng?

    (@hailite)

    Is the issue still some like /sub/sub?

    Thread Starter John Conner

    (@johnconner)

    Nope, in a glance it seems OK. But many post images are not referred to CDN, cache purge doesn’t help.

    Plugin Support Hai Zheng?

    (@hailite)

    Please create a ticket, including your site and debug log so we can have a check.

    Plugin Support Hai Zheng?

    (@hailite)

    Wildcard will be added in later release.

    Anonymous User 14978628

    (@anonymized-14978628)

    Sadly i don’t find the optimization for css/js to work very well.

    Currently using autoptimize i can optimize css and js without errors on the site. I can also disable google fonts and add in urls for local fonts along with the critical css to load my fonts locally.

    With the litespeed optimization, enabling the css optimization async breaks the layout of my site which doesn’t occur with autoptimize. Also, when i add urls for my locally hosted fonts into the critical css and disable google fonts, the google fonts are disabled but my local fonts don’t load.

    So basically autoptimize allows me to optimize my site without error, but when i use the same options with litespeed it breaks my site or doesn’t work as well.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Optimizer and CDN need improvemnt’ is closed to new replies.