O
O
ObehanProger2019-06-19 11:01:32
Browsers
ObehanProger, 2019-06-19 11:01:32

How to disable script caching in mobile Chrome? Does versioning help?

Only in mobile Chrome, for some reason, versioning by adding to the
style and script tags does not help, and it still caches, if not styles, then js scripts for sure. How to solve the problem?
?<?php echo time(); ?>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2019-06-19
@rPman

What do the developer tools in the browser say when invoked by F12 (network tab)? Are the scripts not being reloaded?
Because if you add ? random_number to the link, then 100% no caching tools will be used, since according to the standard this is already a new object. You almost certainly have a logical error in your code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question