Answer the question
In order to leave comments, you need to log in
How to clear the cache on Laravel and Wordpress hosting sites?
When I work on projects on a local server (Open Server), I don't see any problems.
But when the sites are hosted, then problems with updating the content begin.
Laravel:
- Paths to .js, .css files are not updated
** I temporarily solve the problem by updating the name of the file itself. Those. I change style.css to style1.css and write a new path in the view head
<link rel="stylesheet" href="{{('/')}}mytheme/style1.css">
<p class="copyright">© <?php the_time( 'Y' ); ?> Copyright </p>
Answer the question
In order to leave comments, you need to log in
everything is cached by the hosting itself, and no one canceled ctrl+f5
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question