Questions tagged [page-caching]

95 questions
1
vote
1 answer

yii2 page caching for single posts

I have blog via yii2 and using page caching 'class' => 'yii\filters\PageCache', 'only' => ['view','video'], 'duration' => 900, 'dependency' => [ 'class' => 'yii\caching\DbDependency', 'sql' => '?', ], my post…
kiamoz
  • 714
  • 1
  • 7
  • 18
1
vote
2 answers

My Rails page_cache is attaching someone else's domain to links, how can I stop this?

Let me try to explain what the situation is as thoroughly as I can see it. I have a Rails app using page caching for a specific part of the site. When looking through Google Analytics I noticed my own domain as a referrer which I found odd. Upon…
Orlando
  • 1,236
  • 3
  • 12
  • 24
1
vote
1 answer

Rails 4: How to uninstall "actionpack-page_caching" and clear cache in production

I tried using the 'actionpack-page_caching' gem to serve up static html pages on Heroku and discovered Heroku doesn't support it or at least makes it a little more difficult. The gem was working just fine in development but not in production and now…
BB123
  • 215
  • 3
  • 10
1
vote
1 answer

Rail 5 Page Caching

I am looking to do page caching with Rails 5, but the gem (actionpack-page_caching) doesn't seem to be Rails 5 supported yet. What alternatives do I have? Cheers, Andrew
Andrew Cetinic
  • 2,805
  • 29
  • 44
1
vote
1 answer

Hippo cms cache

I switched on page caching in hippo cms as it written in this link https://www.onehippo.org/10/library/concepts/request-handling/hst-page-caching.html After switching on cache, pages are loaded faster. But problem is, this cache invalidated after a…
Bagdat
  • 308
  • 4
  • 15
1
vote
0 answers

Does page caching also cache the contents of an iframe?

I want to activate page caching for my website. We occasionally make use of iframes which load frequently updated content - does page caching cache the contents of an iframe as well?
Dustin Gaudet
  • 334
  • 1
  • 3
  • 11
1
vote
1 answer

How do I set up page caching in html?

The site has been coded by me from scratch. Not a wordpress site. I ran a site audit and naturally theres a lot to be done; one of which is page caching. Im a beginner at coding, its my first site and I've hosted it and its running now. I have added…
1
vote
1 answer

Why doesn't my Apex install appear to be caching pages?

I've been trying to look into caching a couple of pages within Apex 4.2, but the information I have found has been vague on how to actually implement it. I enabled caching on my page attributes but I expected to be able to see the page cache…
1
vote
0 answers

Flushing pages to disk in order

Is there a way to impose the order in which pages are flushed from memory to disk in Linux, except updating pages in the desired order and performing fsync()/msync() after each page update, separately? Relates to the linux page cache flush order,…
leventov
  • 14,760
  • 11
  • 69
  • 98
1
vote
2 answers

How does doc_values of Lucene is implemented?

I saw a ES documentation of "doc_values" http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/doc-values.html saying "Doc values are built at index time, not at search time", so what will be built if using doc_values? "doc values are…
suslov
  • 55
  • 1
  • 8
1
vote
1 answer

How to implement page caching or action caching in active admin

We are using active admin in our application. I have massive data etc to be managed. I want to implement page caching/ action caching in active admin and wants to expire fragments on my specific calls. I don't mind showing stale data for some time…
1
vote
1 answer

Rails page caching with intra-page administration

I'd love to use page caching on a Rails site I run. The information on each page is mostly constant, but the queries that need to be run to collect the information are complicated and can be slow in some cases.The only obstacle to using page caching…
Ron Gejman
  • 6,135
  • 3
  • 25
  • 34
1
vote
3 answers

Timed Page Caching in Rails

In a project I'm working on, I'm requesting data from an external API in my controller, which is then displayed in the view. I've recently begun running into exceptions being thrown due to rate limits, which are caused from excessive calls to the…
mportiz08
  • 10,206
  • 12
  • 40
  • 42
1
vote
4 answers

Rails' page caching vs. HTTP reverse proxy caches

I've been catching up with the Scaling Rails screencasts. In episode 11 which covers advanced HTTP caching (using reverse proxy caches such as Varnish and Squid etc.), they recommend only considering using a reverse proxy cache once you've already…
John Topley
  • 113,588
  • 46
  • 195
  • 237
1
vote
2 answers

how to force all browsers to not store your site's cache?

When you are in the development stage it's a bit embarrassing to constantly remind your clients to clear the cache or to ask them to "refresh the page a bunch of times." Is there a setting that I, the developer, can set in nginx or as a meta tag in…
TheOne
  • 10,819
  • 20
  • 81
  • 119