nemiroff Posted October 8, 2017 Report Share Posted October 8, 2017 Nesen parādījās problēma, ka atjaunotais saturs neuzrādās lapas viesiem, kas jau kādu reizi bijuši portālā. Ja lapu atver pirmo reizi, tad rāda jaunāko saturu, bet nākamreiz vairs ne. Līdz vienīgi refreš poga/F5. Pats izmaiņas redzu uzreiz tad kad esmu ielogojos kā admins/lietotājs wordpresa panelī. Kādi risinājumi? Ja ir tad rakstiet, lūdzu, konkrēti precīzu vietu kur ko ielikt/labot, piemēram, functions.php vai kādā citā failā. Quote Link to comment Share on other sites More sharing options...
yozhis Posted October 9, 2017 Report Share Posted October 9, 2017 (edited) vienmēr svaigākais saturs - auto refresh:https://jsfiddle.net/znpLy0rf/ setTimeout(function(){ window.location.reload(); }, 100); nekad tā nedari Edited October 9, 2017 by yozhis Quote Link to comment Share on other sites More sharing options...
nemiroff Posted October 9, 2017 Author Report Share Posted October 9, 2017 kurā no visiem failiem to ielīmēt? Quote Link to comment Share on other sites More sharing options...
Val Posted October 11, 2017 Report Share Posted October 11, 2017 parādi .htaccess saturu Quote Link to comment Share on other sites More sharing options...
Mr.Key Posted October 14, 2017 Report Share Posted October 14, 2017 Principā nekā. Ja ir JS includes (Wordpresā vajadzētu būt), kuras netiek kešotas, tad varbūt var kaut ko mēģināt pārķert un taisīt JS reload. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.