P
P
Petr Volkhanov2017-04-18 13:32:43
css
Petr Volkhanov, 2017-04-18 13:32:43

How to clear cache in opencart to see css changes?

Hi all.
I haven't been working with OpenCart for a long time. And one question appeared - how to completely clear the cache in opencart to see CSS changes? I don't see the changes to the product card that I make in the product.css file
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Pushkarev, 2017-04-18
@eprivalov

If this is not production, then set the version to the css file via time(). Then it won't cache.
Example
style.css?v=<?= time();?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question