站帮网 发表于 2026-4-28 01:09:35

使用腾讯EO页面不能识别电脑和手机优办法解决吗 New

使用CDN不能自动识别手机和电脑,请问用办法解决吗?


如页面:https://www.futt.cn/thread-134-1-1.html








我知道答案 回答被采纳将会获得1 贡献 已有5人回答

站帮网 发表于 2026-4-28 01:09:59

cdn只缓存css.js等素材。

可可的可 发表于 2026-4-28 01:10:30

https://www.dismall.com/thread-27863-1-1.html如果只是电脑移动端切换有问题,如浏览器切换移动端网站还停留在pc页面,切换到pc端同理,是css被节点缓存了,删掉css/js这条缓存规则并清空节点缓存就行了
       

                        php、html不缓存 (动态会被伪静态命中)
       

.ce-block {    margin-bottom: 20px;}.ce-block__content,.ce-toolbar__content {        /* max-width:calc(100% - 50px) */        margin-left: auto;    margin-right: auto;}.ce-paragraph {    line-height: 1.6em;    outline: none;    text-indent: 2em;    font-size: 16px;}.ce-paragraph--right {    text-align: right;}.ce-paragraph--center {    text-align: center;}.ce-paragraph--left {    text-align: left;}.ce-paragraph--justify {    text-align: justify;}.ce-paragraph-text-indent {    text-align: justify;}.ce-paragraph:empty::before{content: attr(data-placeholder);color: #707684;font-weight: normal;opacity: 0;}/** Show placeholder at the first paragraph if Editor is empty */.codex-editor--empty .ce-block:first-child .ce-paragraph:empty::before {opacity: 1;}.codex-editor--toolbox-opened .ce-block:first-child .ce-paragraph:empty::before,.codex-editor--empty .ce-block:first-child .ce-paragraph:empty:focus::before {opacity: 0;}.ce-paragraph p:first-of-type{    margin-top: 0;}.ce-paragraph p:last-of-type{    margin-bottom: 0;}.svg-icon {    width: 1em;    height: 1em;}.svg-icon path,.svg-icon polygon,.svg-icon rect {    fill: #4691f6;}.svg-icon circle {    stroke: #4691f6;    stroke-width: 1;}.inline-code {background: rgba(250, 239, 240, 0.78);color: #b44437;padding: 3px 4px;border-radius: 5px;margin: 0 1px;font-family: inherit;font-size: 0.86em;font-weight: 500;letter-spacing: 0.3px;}

ROBOT 发表于 2026-4-28 01:11:09

css和js都不能缓存 要它 何用

霸王别姬 发表于 2026-4-28 01:11:19

有途动态链路加速、静态节点加速,除了不想主动缓存css其它没影响,并且eo有一定的防护能力、抗带宽、抗d分流、和隐藏真实服务器ip的作用

js目前在缓存列,但是缓存css我也确实出现了pc移动互相切换ua出现了不成功问题

控制台css加版本戳如  style.css?v=20260424,我嫌麻烦索性一刀切懒得搞,因为测试css/js有没有节点缓存并没感觉出差距

IT618应用中心 发表于 2026-4-28 01:11:45

确实有这个问题,我也遇到了
页: [1]
查看完整版本: 使用腾讯EO页面不能识别电脑和手机优办法解决吗 New