缓存的html页面和动态内容

时间:2022-12-05 13:44:46

I have a caching plugin that creates static html pages from my php/mysql driven site.

我有一个缓存插件,可以从我的php / mysql驱动的站点创建静态html页面。

On the homepage I've a listing of content <ul><li>content</li></ul>

在主页上我列出了内容

  • content

I've a drop-wdown (select), that loads different set of content.

我有一个drop-wdown(select),它会加载不同的内容集。

Obviously this isn't playing well with caching plugin.

显然这不适合缓存插件。

I'm don't have website yet, I'm in the thinking phase and I'm trying to understand what problems I might face... could you help me with this little part I explained above?

我还没有网站,我正处于思考阶段,我正在努力了解我可能遇到的问题......你能帮我解决一下我上面解释过的这个小部分吗?

1 个解决方案

#1


0  

Not 100% sure what you mean; but you should be able to stop browser caching by adding a random GET variable into the URL. Like time() for example; your browser should see it as a different page.

不是100%肯定你的意思;但您应该能够通过在URL中添加随机GET变量来停止浏览器缓存。比如time();您的浏览器应将其视为不同的页面。

#1


0  

Not 100% sure what you mean; but you should be able to stop browser caching by adding a random GET variable into the URL. Like time() for example; your browser should see it as a different page.

不是100%肯定你的意思;但您应该能够通过在URL中添加随机GET变量来停止浏览器缓存。比如time();您的浏览器应将其视为不同的页面。

相关文章