• Resolved ImageP T

    (@pthomson87)


    Hello,

    I’ve been a happy pro user for a while now, but I have a little issue.

    Currently any JS snippets are being served from a query string address, and subsequently avoiding my cache on my server, which increases the load.

    This is how it’s being served:

    http://www.example.com/?code-snippets-js-snippets=footer

    Is there a way to write JS files out to an actual file instead so that it can be cached. Like:

    http://www.example.com/js-code-snippets.js

    I can’t understand why this functionality hasn’t been added already, as that’s the standard way to do things in WordPress, or at least in my experience.

    Many thanks and hear from you soon,

    Paul

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ImageShea Bunge

    (@bungeshea)

    Hi Paul,

    Currently, we have this ‘query string’ method set up so that it *is* cached by the browser – by caching, are you hoping to offload the file to a CDN or similar as a further method of optimisation?

    Serving snippets from actual generated flat files is definitely an enhancement we’re hoping to make in the future, but we feel that the current solution is pretty standard with how WordPress serves a lot of its CSS and JS assets.

    Thread Starter ImageP T

    (@pthomson87)

    Hi Shea,

    I hope you’re doing swell.

    Is there any update on making this feature available? To write out snippets to flat files so they can be served optimally from a CDN?

    Out of curisity, how much coding work would it actually take to have an option to output snippets as flat files?

    Keep up the great work, you’ve built something epic, I’m getting a lot of use from it.

    This would be a nice feature though 😉

    If it could be implemented, you’d step up to legendary status, at least in my eyes.

    God bless x

    Plugin Author ImageShea Bunge

    (@bungeshea)

    Hi @pthomson87,

    I can let you know that this feature is currently implemented in our development version, and should be released within the next few versions.

    Thank you for the feedback!

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

You must be logged in to reply to this topic.