Several cautions in using Qiniu

» WordPress » Several cautions in using Qiniu

You should pay attention to these aspects when using the children's shoes of Qiniuyun. Maybe there is a problem with your website, just these aspects

七牛使用的中几个使用注意事项-极客公园

preface

[v_organge] This website uses Qiniu cloud storage service. In addition, I see many friends complaining about Qiniu's various problems. I personally summarize the mistakes that are easy to make, and see if you are shot [/v_organge]

1、 Add image address in Qiniu space

Many people install and configure plug-ins when using Qiniu. Qiniu Space may have forgotten to configure them
七牛使用的中几个使用注意事项-极客公园

As you can see, we must add the website address here. If you do not add a domain name, you may not be able to realize the website acceleration function

2、 Do not add CSS to 7N space

七牛使用的中几个使用注意事项-极客公园

In the 7-Bull plug-in, do not add the css file type to 7-Bull. Why? The main reason is that the cache of Qiniu is weak, so it is better not to add CSS to Qiniu space, and the CSS of the website is often modified, so the change frequency of CSS is often high, so it is better not to add CSS to Qiniu directly.

3、 Forbid Qiniu space resources to be searched

The problem here is that if Qiniu's resources are found by the search engine, because Qiniu's resources are the same as its own website resources, the search engine will think that our website is cheating and may be K site, so it is necessary to add robot.txt file to Qiniu space. Maybe when Qiniu space or Qiniu plug-in has added robot.txt file, Anyway, add the following code to the robot.txt file

 User-agent: * Disallow: /

This code means that any search engine is prohibited from searching the content of Qiniu Space.

4、 Pretreatment of image files with caution

七牛使用的中几个使用注意事项-极客公园

We all know that Qiniu has a very good media file cloud processing, which is actually very good, but it is a bit difficult for us WordPress, because the images processed by Qiniu are no longer real external images, and we WordPress may have other functions that need these original image functions, It may lead to the problem that the picture cannot be displayed for you

Postscript

These are just my use experience, there may be many problems, but I usually deal with the seven cattle problem in these aspects, so these should all be met

Related Links

Register Qiniuyun

--End--

Post reply

Your email address will not be disclosed. Required items have been used * tagging