• Resolved derekakelly

    (@derekakelly)


    Hello GazChap,

    This plugin is a big time saver! Please keep up the good work!

    I have some thoughts i wanted to pass along. I’m putting together a new website right now with about 10k products and 1.5k categories. Because my catalog is so large, i found that your plugin slowed down my site a few seconds every time i loaded a shop page.

    This was mostly mitigated by the recent update with the transients. However, clearing the woocommerce transients doesn’t seem to clear the thumbnails. Is there a different way to reset these, either on an individual basis or globally? Perhaps there could be a dedicated clear cache button in your plugin.

    Ideally, I’d like to see the randomly selected photos from your plugin saved as the actual photo for the product category. Then if i wanted, I could remove the photo, save it and view the category to have another photo randomly picked. Or maybe have a button inside there that randomly assigns it a new photo. What do you think? Is this even possible with your plugin?

    Thanks for your time,
    Derek

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

    (@gazchap)

    Hi Derek,

    Thanks for the kind words, and the suggestions!

    I can certainly add a “Clear Transients” option – although you can fudge this for now by changing the duration of the transients (and then changing it back after saving) – the transients are cleared automatically when the duration is changed.

    I like the idea of adding an option to save the thumbnail to the category, too – and have the option of assigning a random one on the edit category page. I’ll have a look at these ??

    Thanks,
    Gareth.

    Hey Gaz,

    I’m looking for a quick way to lock in category images.

    Because the randomly selected images are not always a good fit for a category, what I tend to do is to clear the transience and regenerate thumbnails a few times until I get a “set” that all have appropriate images.

    Derek’s suggestions above are great, but for the moment all I really would like to know is if I set a very high transient expiry value, like 126140000 (approx 4 years), would that suffice to achieve the goal?

    Many thanks for this wonderful time-saver of a plugin!!

    Mike

    Plugin Author gazchap

    (@gazchap)

    Hi Mike,

    Yes, if you set the transient expiry to a high value that should suffice.

    However, it’s worth noting that WordPress’ transient system doesn’t always guarantee that transients will expire when they reach that age. The expiry time you specify is a “maximum age”, but it could expire much sooner than that depending on other things going on on the website.

    Hopefully before long I’ll find time to add these additional features to the plugin (and a few other features to some of my other plugins, too!)

    Thanks,
    Gareth.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cache and scaling up the plugin’ is closed to new replies.