The wordpress code is modified, but the blog does not update. What will it be?

0

I have a question I do not know how to ask, I will try to be clear and objective.

I'm learning how to edit wordpress blogs and I'm using the Ribbon theme. :   link

But every time I edit the code, it takes some time to update and pop up the changes on the blog.

  

The code is there, but it does not appear on the blog.

I usually edit the style.css , function.php and so on.

I edit the blog, it takes to update, when it updates, if I stay a few hours without editing the theme, the blog 'outdated' the changes made previously, however when I go in the wp-admin area the current code is over there. But for some reason does not appear on the blog.

It was supposed to be this way (updated version):

To get back to normal I need to go to some php file and click edit and update, so the blog returns to the updated form. But even doing so, it gets outdated in all other places. like on my cell phone, or even Google anonymously on the same computer. For him to upgrade I would have to log into the wp-admin account and update the files for each device.

Is it my mistake? I cleared the computer cache but it still did not change. What do I do? Ideas? I do not know anything about php, I'm just editing the css, html and javascript from the wordpress blog.

    
asked by anonymous 14.07.2017 / 06:13

1 answer

1

Generally, when building a site, a cache system is created for your pages to prevent each visitor entering the site from having to consult the database and perform all the necessary routines to the same content again. Imagine 10,000 simultaneous people requesting a page on your site at the same time. There would be no machine to support it, would it? It's much easier, faster, scalable, and cheaper to do this:

  

just run the routine and save the html file and for the next requests that want the same content during a certain time to present html saved instead of running all again.

In wordpress there are hundreds of cache plugins for the website, you probably have some configuration, there is also the use of Content Delivered Network (CDN), which has a network of computers scattered throughout the site. world that work delivering static content through geolocation or if I request a page here from Rio de Janeiro the CDN calculates the route that contains the page that would take the shortest time ie, that is closer to me and deliver me directly that file without having to go to your server. By preventing the user's request from being sent directly to its allocation and reducing its resource consumption, this is also a caching system, so if you use cloudflare or any other cloud service this could also cause which he reported in his question.

  

The solution to this is to temporarily disable the cache plugin in your wordpress or disable the cloud (CDN). All these services have an option to temporarily disable caching.

I've forgotten a detail, just one more thing internet providers also use caching to reduce bandwidth consumption on their servers.

Update:

You are trying to upload images from a link ( unencrypted ) domain and the domain that you are using link / strong>) so browsers block loading for security reasons.

Inyourblogcode,correctforlinkthatshouldwork.Incasetheimagescopytoyourdomainandchangetheurlinthecodetolink.

Thisisonlyhappeninginyourindexasshownintheimagebelowthetopimageispointingtoanotherdomainwithoutlink

    
14.07.2017 / 06:47