-
AuthorPosts
-
April 21, 2017 at 9:19 am #781064
Hello,
Lately I updated the WooCommerce plugin at this webshop: http://www.myredbag.dk. Unfortunately that caused some bad changes at the webshop, so I decided to downgrade to WooCommerce version 2.6.14 and now the shop looks just fine again. But now the top slider at the homepage wouldn’t show from browsers who have visited the webshop earlier (see this screenshot: http://www.myredbag.dk/wp-content/uploads/2017/04/Screenshot.png). For new visitors the top slider shows properly.
Whats the problem?
Best regards,
Helle ØsterggardApril 21, 2017 at 10:24 am #781082The “problem” is the browser cache. Old visitors would have to clear the browser cache. According to your webserver javascript is cached for 30 days:
Content-Type:application/javascript
Date:Fri, 21 Apr 2017 08:22:10 GMT
Expires:Sun, 21 May 2017 08:22:10 GMTApril 21, 2017 at 12:23 pm #781128Yes, I’m aware off that clearing the browser cache will do the trick, but I can’t ask old visitors to clear their browser cache when they are visiting the webshop. Is it possible somehow to reset the browser cache for all visitors?
Best regrads,
HelleApril 21, 2017 at 12:27 pm #781129You would either have to remove caching of javascript on the server side (.htacces or provider settings) or you would have to load the jquery script with a dynamic version number (cachebusting). As both tasks are not related to Enfold I am not sure whether the support staff will be of help. You will have to wait until an official staff member picks up the ticket.
April 21, 2017 at 12:38 pm #781134Thanks for your reply. I’m not quite sure that you mean by “official staff member”, but can I expect to get an answer from an official staff member?
April 21, 2017 at 12:53 pm #781152Official staff members are the moderators in the forum and they will answer.
April 22, 2017 at 9:39 pm #781776Hi,
try a Cache-Control plugin such as: https://wordpress.org/plugins/cache-control/
and set the max-age to a low number or 0, until you believe most of your visitors have revisited.
the set it back to default.Best regards,
MikeApril 24, 2017 at 5:43 pm #782465Hi,
Thanks for your reply. I have downloaded the Cache-Control plugin and sat the Max-Age for Front page to 0, but that didn’t solve the problem. What other issues do I have to set to 0?
Best regrads,
Helle ØstergaardApril 25, 2017 at 6:17 am #782654Hi,
First off, thanks for using our theme :)
This plugin should help you: https://wordpress.org/plugins/dynamic-asset-versioning/ that will update the assets version.
Best regards,
John Torvik -
AuthorPosts
- You must be logged in to reply to this topic.