Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Gradient

    (@ssols0supp)

    Yes, it will be cached. It can be checked by cache status when enabling HTTP trace.

    https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-advanced-accel#debug

    Thread Starter snakecharmer995

    (@snakecharmer995)

    Thank you for debug now I can see the following thing:

    The XHR requests are cached as I can see X Seraph Accel Cache.

    https://ibb.co/C5kCkTsm

    https://ibb.co/rRBfgmY4

    but fetch are not

    https://ibb.co/CpLpqtYY

    https://ibb.co/MxNHWMjC

    Any idea what would be the reason?

    Plugin Support Gradient

    (@ssols0supp)

    Due to the second URL doesn’t contain ‘_category’ argument.

    Thread Starter snakecharmer995

    (@snakecharmer995)

    Apologies. Thats due to me translating it here for better understanding. Thats how it originally is kategorije=categories.

    Here is the image showing all my settings.

    https://ibb.co/NnmTQb8C

    As you can see the xhr is really fast usually 30-40ms but fetch is slow and long 300ms because its not cached.

    How can I also cache fetch so thats also fast.

    Should I add Pattern @/wp-json/wp/v2/product_cat\?slug=@ Method GET Type application/json
    to Request cache?

    Is this logic correct?

    With ttl of 1h and lazy revalidation on this should be updating my filters if products move or they get out of stock or categories get updated correct?

    Thank you.

    Plugin Support Gradient

    (@ssols0supp)

    We see that requests caching is needed from your side.

    /wp-json/wp/v2/product_cat\ or wpgb-ajax=refresh

    ?

    Thread Starter snakecharmer995

    (@snakecharmer995)

    Hi, thank you.

    Yes I think thats what I was missing.
    https://ibb.co/TxdBNSLF

    I have now adjusted and have 2 post one for refresh one for render and get for product cat.

    Is there a way to speed up the creation of ajax refresh cache beacuse its still not created after clicking on combinations in incognito?

    Plugin Support Gradient

    (@ssols0supp)

    its still not created after clicking on combinations in incognito?

    What is the cache status of such requests in HTTP response?
    Thread Starter snakecharmer995

    (@snakecharmer995)

    Here is example of this such slow cache:
    https://ibb.co/Hfk0fVph

    Plugin Support Gradient

    (@ssols0supp)

    There is no Accelerator header.

    It is better to manage this issue in support request – we will setup all stuff.

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

The topic ‘Caching parameters’ is closed to new replies.