WordPress.org

Ready to get started?Download WordPress

Forums

WP Fastest Cache
Cache Timeout is needed indeed! (4 posts)

  1. Kramarz
    Member
    Posted 2 months ago #

    Hi Emre,

    First of all I hope you are enjoying your short time off!
    Now, a suggestion/feature request when you'll come back!

    I did asked you before about Cache Timeout option, and I agree the in most of the cases its not needed and best to left not used, BUT...
    Occasionally looks like we do need it, so please keep it in options!

    On my latest project, a website for hotel, we have a booking engine integrated in it, and 'booking search box' script is being pulled from the booking engine server using:

    <?php readfile("http://secure.example.com/searchbox.html"); ?>

    Now, this box includes a date picker in it which by default shows todays date as a starting point. The problem is that when I'm caching the website using your plugin (and most likely any other) this script is not being read every time someone visits website, so it shows last time cached version of the 'booking search box' resulting in failing result when someone simply clicks 'BOOK NOW!' without changing the date, booking engine says 'You have picked up a date in the past... please correct' or similar.

    I doubt there would be a way to not cache only a specific element of the page, in this case a div in which 'booking search box is in' or by adding some code to the mentioned php code that would force refreshing this part of the page each time - please correct me if I'm wrong and there's other solution for it.

    So, the best solution for it is to use 'Cache Timeout' option to force clearing the cache at least once a day, preferably in night time - to force refreshing of that damn 'booking search box' datepicker.

    NOW, my feature request would be a add options to set the 'reset cache' time manually, to specific chosen time of the day/week/month, not just as it is at the moment.

    I know it's not the biggest issue to stay up late 1 day and use the options currently available but still... would be much easier to have a mentioned possibility.

    Would that be possible? :-)

    Kind Regards, and thanks again for all your work and support!

    https://wordpress.org/plugins/wp-fastest-cache/

  2. halcy0n
    Member
    Posted 2 months ago #

    The last tab in the settings is the cache timeout tab?

  3. Kramarz
    Member
    Posted 2 months ago #

    @halcy0n
    Yea

  4. Emre Vona
    Member
    Plugin Author

    Posted 2 months ago #

    Hi Kramarz, yes it is already in my toDo list but I didn't start to work on it. I will implement it.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.