A
A
Alexander92922020-09-29 23:38:06
htaccess
Alexander9292, 2020-09-29 23:38:06

Is it possible to cache some part of the site?

I am finishing the site after another developer on Opencart 3.
There was a problem, everything that I add to the header.twig file does not appear in the browser.
How is this possible?
It seems that this place is cached in some way.
Resetting the cache of modifiers does not help, the browser's cache too, set caching in the htaccess file for one minute (before that, it was generally disabled)

Nothing helps. How can this problem be solved?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pashok Doom, 2020-09-30
@Benzin102

Try to go to Design - Theme editor - then the path to your header template and press reset.

O
Oleg, 2020-09-29
@politon

Alternatively, view the file's write permissions

A
Alexander9292, 2020-09-30
@Alexander9292

I almost decided
I look at bootstrap and font-awesome is also missing
And the header started to come to life after the following:
Open the file on the server system/library/template/twig.phpand comment out or delete the line
$config['cache'] = DIR_CACHE;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question