New hosts and when updating and product there is a lag when saving
-
14Steve14
- Senior Contributor
- Posts: 922
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 17 times
- Been thanked: 103 times
Re: New hosts and when updating and product there is a lag when saving
I will be honest, I never Knew it updated automatically. Its a great feature that it does and it would be a shame to loose it. May be more should be made that it does auto update as its a great feature.
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: New hosts and when updating and product there is a lag when saving
Maybe this is a way;
1. Remove the auto updating feature which is what is causing a lag
2. After you've added/updated a product, show a message reminding you to manually click the Renew Products icon in that dashboard module.
That click only needs to be done once, so if you were adding/updating multiple products you could do them all, then click the icon.
1. Remove the auto updating feature which is what is causing a lag
2. After you've added/updated a product, show a message reminding you to manually click the Renew Products icon in that dashboard module.
That click only needs to be done once, so if you were adding/updating multiple products you could do them all, then click the icon.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: New hosts and when updating and product there is a lag when saving
Recent posts here are referring to the PRO VIP Addon - app.php/addons/supporters_code/s06e02_xml_site_maps/
We also use it, it's excellent for SEO, but we don't experience a lag though maybe that's because of our server or that we have only ~1200 products.
In any case, if lag could be an issue, your suggestion would at least stop that default behaviour.
Guess having 'auto-update' as a yes/no option would also work but that's said with no knowledge of the code involved.
- mhsuffolk
- Contributor
- Posts: 199
- Joined: Sat Oct 26, 2019 9:13 am
- Phoenix Version: v1.1.0.6
- Has thanked: 13 times
- Been thanked: 11 times
Re: New hosts and when updating and product there is a lag when saving
Just a suggestion, please don't shoot me down if it is not practicable.
Could the code have a timer added so after a product is added or edited it waits say 10 minutes and then runs the XML site maps routine. During that 10 minutes if another product is added or edited it should reset the timer back to 10 mins. This would automate the process.
Could the code have a timer added so after a product is added or edited it waits say 10 minutes and then runs the XML site maps routine. During that 10 minutes if another product is added or edited it should reset the timer back to 10 mins. This would automate the process.
-
14Steve14
- Senior Contributor
- Posts: 922
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 17 times
- Been thanked: 103 times
Re: New hosts and when updating and product there is a lag when saving
Just an idea - could it be done with a cronjob which could be set to activate daily, weekly or what ever the user required.