Caching parameters
-
Hi.
I was writing in previous thread but moderator deleted it so I am continuing it here.
I am trying to cache parameters in url such as shop/?_category=something
The support said:
There are arguments caching settings for that purpose: https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-exclusions-accel#arguments ( https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-exclusions-accel#arguments )Requests cache is not needed.
_category should be added as exception for excluding arguments like !_category. Pls, see examples: https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-exclusions-accel#examples ( https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-exclusions-accel#examples )
I have then adjusted and came to final solution:
Under Cache and its revalidation–>Request Cache
I have Pattern @[\?&]wpgb-ajax=refresh(?:&|$)@
POST application/JSON since its received from facet WP Grid builder
and under Exclusions, views and users–>URI arguments
I set to Exclude particular and added in !_category so that its not cached.
My questions is will this now cache all results suchs as:
?_category=random1
?_category=random2
?_category=random3and combinations in between
?_category=random1%2Crandom2
?_category=random3%2Crandom4
?_category=random5%2Crandom6%2Crandom7
I have purchased the premium license as well but I am asking in public forum in case someone else has similar issues so they can find this thread.The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.