Disable output caching for site or pages

How to disable output caching for site pages?

I tried disabling output caching from Site settings but I could not see any output caching in the Site setting collection administration menu, even in publishing infrastructure mode.

I want to know how I could make this change with PowerShell. I also want to disable caching on the page level.

   //I tried this on a page but it rises an error:    <%@ OutputCache Location="None" %> 

How can this be done?

Pages library missing from SP2019 Site contents

I am working with SP2019 and on Site contents of root site collection, I am not seeing Pages library. Both SharePoint server publishing and sharepoint server publishing infrastructure features are enabled, still weird part is pages library still not available under site contents.

Does anyone know the reason? On all the subsites, I see pages library under site contents but missing from top level site contents, sounds weird to me.

Can anyone help please, thanks in advance.

Given price and number of pages of each book, What is the maximum number of pages you can buy?

You are in a book shop which sells n different books. You know the price and number of pages of each book.

You have decided that the total price of your purchases will be at most x. What is the maximum number of pages you can buy? You can buy each book at most once.


In: 4 10 4 8 5 3  //price 5 12 8 1 //pages Out: 13 Explaination: You can buy books 1 and 3. Their price is 4+5=9 and the number of pages is 5+8=13 

This is my recursive approach :

f(i,j) is max pages, when you can afford i units of money and j is the index in vector uptill the jth book. ie 0 to jth books are considered.

f(x, 0)=max( f(x-price[indx], indx+1) + pages[indx], f(x,indx+1) ); 

I am having difficulty making the base case, what should be the base case?

Thank you.

List all pages from MySite

I am a farm-level administrator in a SharePoint 2013 farm and I want to view all sub sites of MySites. The problem is that I don’t have the permission to access the site contents of the users in the farm. Is there any way to override these permissions as a farm admin?

Epson L130 printer giving out blank pages on Ubuntu 18.04

Please consider this as an emergency and help me. I upgraded my system to Ubuntu 18.04 from Ubuntu 14.04. My Epson L130 printer was working fine on 14.04 but even though I added the printer to the 18.04, it doesn’t print documents from Libre Office and other PDF readers. The paper just goes inside, the printer head does some motions but the paper comes out blank. I see that I can print test pages from the internet and from the printer, but no documents can be printed. I tried installing the driver and printer utility from the Epson site. Please suggest some things that I can try out to make it work. Any additional information can be given on demand. Thanks in advance!

Can’t Edit Master Pages

Can anyone help me. Every time I click the master pages edit menu, edit the display template and edit the page layout, an error always appears as follows

Server Error in ‘/’ Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a “web.config” configuration file located in the root directory of the current web application. This tag should then have its “mode” attribute set to “Off”.

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the “defaultRedirect” attribute of the application’s configuration tag to point to a custom error page URL.

thank you for the solution

Redirect all pages form non-www to www with htaccess, but do not redirect subdomains

Before I start, I have read all of the related pages, and none have helped me.

To begin, I have a website which redirects non-www to www. This is fine, but I have subdomains that I do not want to be www.subdomain.example.com, I would prefer my subdomain to not have www in front. I still want the main page, example.com to be www.example.com. Trying other people’s code for this issue in .htaccess is not helpful to me. Could somebody look over my .htaccess? I don’t know what part even redirects.

    RewriteEngine On  RewriteCond %{SERVER_PORT} 80  RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$   RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$   RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)? RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$   RewriteRule ^(.*)$   https://jeffthecow.com/$  1 [R=301,L] <Files 403.shtml> order allow,deny allow from all </Files>  # secure .htaccess file <Files .htaccess>     Order allow,deny     Deny from all </Files>  # Deny access to filenames starting with dot(.) <FilesMatch "^\."> Order allow,deny Deny from all </FilesMatch>  # automatically corect simple speling erors <IfModule mod_speling.c>     CheckSpelling On </IfModule>  deny from RewriteCond %{HTTP_HOST} ^jeffthecow\.sixlloyds\.com$   [OR] RewriteCond %{HTTP_HOST} ^www\.jeffthecow\.sixlloyds\.com$   RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$   RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$   RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)? RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$   RewriteRule ^(.*)$   "https\:\/\/jeffthecow\.com\/$  1" [R=301,L]  ErrorDocument 400 https://jeffthecow.com/error/400.html ErrorDocument 401 https://jeffthecow.com/error/401.html ErrorDocument 402 https://jeffthecow.com/error/402.html ErrorDocument 403 https://jeffthecow.com/error/403.html ErrorDocument 404 https://jeffthecow.com/error/404.html ErrorDocument 500 https://jeffthecow.com/error/500.html 

Thank you very much.